| GeometryHelperHaveContact Method (Triangle, Triangle) |
Determines whether two triangles overlap.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public static bool HaveContact(
Triangle triangle0,
Triangle triangle1
)
Public Shared Function HaveContact (
triangle0 As Triangle,
triangle1 As Triangle
) As Boolean
public:
static bool HaveContact(
Triangle triangle0,
Triangle triangle1
)
static member HaveContact :
triangle0 : Triangle *
triangle1 : Triangle -> bool
Parameters
- triangle0
- Type: DigitalRune.Geometry.ShapesTriangle
The first triangle. - triangle1
- Type: DigitalRune.Geometry.ShapesTriangle
The second triangle.
Return Value
Type:
Boolean if the specified triangles intersect;
otherwise,
.
See Also