Utility.PointInTriangle (Point2D, Point2D, Point2D, Point2D) Method
2D point in triangle test.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
test
-
Point2D
The test 2D point
-
a
-
Point2D
The first triangle vertex
-
b
-
Point2D
The second triangle vertex
-
c
-
Point2D
The third triangle vertex
Return Value
bool
Returns true if the point is inside the triangle, false otherwise.
.NET Framework
Supported in: 4.8