PointInPolygon

Del.» function PointInPolygon(const Pt: TIntPoint; const poly: TPath): Integer;

C++ » int PointInPolygon(const IntPoint pt, const Path &poly); // Function in the ClipperLib namespace.

C#  » public static int PointInPolygon(IntPoint pt, Path poly); // Static method of the Clipper class.

Returns 0 if false, -1 if pt is on poly and +1 if pt is in poly.


See Also

IntPoint, Path