| 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 [CLSCompliantAttribute(false)]
public static bool HaveContact(
ref Triangle triangle0,
ref Triangle triangle1
)
<CLSCompliantAttribute(false)>
Public Shared Function HaveContact (
ByRef triangle0 As Triangle,
ByRef triangle1 As Triangle
) As Boolean
public:
[CLSCompliantAttribute(false)]
static bool HaveContact(
Triangle% triangle0,
Triangle% triangle1
)
[<CLSCompliantAttribute(false)>]
static member HaveContact :
triangle0 : Triangle byref *
triangle1 : Triangle byref -> bool
Parameters
- triangle0
- Type: DigitalRune.Geometry.ShapesTriangle
The first triangle. (The triangle will not be modified.) - triangle1
- Type: DigitalRune.Geometry.ShapesTriangle
The second triangle. (The triangle will not be modified.)
Return Value
Type:
Boolean if the specified triangles intersect;
otherwise,
.
See Also