Utility.TriangleRectangleOverlap Method
2D triangle rectangle overlap test.
Public Shared Function TriangleRectangleOverlap( _
ByVal tri As Point2D(), _
ByVal rect As Point2D() _
) As Boolean
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
tri
-
Point2D[]
The triangle perimeter as a list of 4 vertices
-
rect
-
Point2D[]
The rectangle perimeter as a list of 5 vertices
Return Value
bool
True if the two polygons overlap, false otherwise.
.NET Framework
Supported in: 4.8