Home | ClipperLib |
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 when false, -1 when pt is on poly and +1 when pt is in poly.
It's assumed that 'poly' is closed and does not self-intersect.
Copyright ©2010-2014 Angus Johnson - Clipper 6.2.1 - Help file built on 1-November-2014