Import std.math.polygon
PointInPolygon
function
Public Function PointInPolygon(point: Vec2, ring: Vec2[]): Bool
Whether the point is in the ring or on its edge, by the nonzero rule.
function
Public Function PointInPolygon(point: Vec2, rings: Vec2[][]): Bool
Whether the point is in the region or on one of its rings' edges, by the nonzero rule.
Report an issue with this page or with FutureBlitz on GitHub.