Polygon

Del.» TPolygon = array of TIntPoint;

C++» typedef std::vector< IntPoint > Polygon;

C#» using Polygon = List<IntPoint>;


This structure contains the coordinates of a single polygon contour.

A Polygon structure can be passed to Clipper objects via the AddPolygon method.

Complex polygons, with more than one contour (ie containing holes), are encapuslated within a Polygons structure, or within an ExPolygons structure.

See Also

ClipperBase.AddPolygon, Example, ExPolygons, IntPoint, Polygons