Utility.PointInPolygon (Point2D, IList<Point2D>) Method
Parameters
- testPoint
- Point2D
The test 2D point
The polygon
Return Value
boolTrue if the 2D point is inside, false if the point is outside. For points on the edges of the polygon, please use PointInPolygon
The polygon must be closed, so the first and last points of the list must be coincident.