Utility.TriangleTriangleIntersection (Double(), Double(), Double(), Double(), Double(), Double(), out Boolean) Method
Public Shared Function TriangleTriangleIntersection( _
ByVal p1 As Double(), _
ByVal q1 As Double(), _
ByVal r1 As Double(), _
ByVal p2 As Double(), _
ByVal q2 As Double(), _
ByVal r2 As Double(), _
ByRef touch As Boolean _
) As Boolean
This language is not supported or no code example is available.
Parameters
- p1
- double[]
coordinates of the first point3D of triangle 1
- q1
- double[]
coordinates of the second point3D of triangle 1
- r1
- double[]
coordinates of the third point3D of triangle 1
- p2
- double[]
coordinates of the first point3D of triangle 2
- q2
- double[]
coordinates of the second point3D of triangle 2
- r2
- double[]
coordinates of the third point3D of triangle 2
- touch
- bool
True when a vertex or edge of one triangle lies on the plane of other
Return Value
boolTrue if the Triangles intersects each other, false otherwise