Utility.PointInPolygon (Point2D, IList<Polygon2D>) Method
Tests if a 2D point is inside to a region composed by multiple 2D polygons (clockwise/anticlockwise orientation rule).
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
testPoint
-
Point2D
The test 2D point
-
polygonList
-
IList<Polygon2D>
The region as a collection of properly oriented 2D polygons
Return Value
bool
True if the point is inside the outer loop and outside all the inners loop, false otherwise.
.NET Framework
Supported in: 4.8