UtilitiesFunctionsisPointInPolygonVersion: NextisPointInPolygon CallableisPointInPolygon(point: Point2D, polygon: Point2D[]): booleanTests whether a point is inside a polygon using an even-odd ray cast.Parameterspoint: Point2DPoint to test.polygon: Point2D[]Polygon vertices in path order.Returns booleanTrue when the point is inside the polygon.
Tests whether a point is inside a polygon using an even-odd ray cast.