Polygon

Del.» TPolygon = array of TIntPoint;

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

C#  » using Polygon = List<IntPoint>;


This structure contains a sequence of IntPoint vertices defining a single path (see also terminology). This path is almost always a closed path. The exception to this is when it's passed to the OffsetPolyLines function. There the polylines parameter represents an open path (unless otherwise indicated by the function's EndType parameter).

Multiple polygons (both outers and holes) are encapsulated within a Polygons structure.

See Also

Overview, Example, ClipperBase.AddPolygon, PolyTree, OffsetPolyLines, Orientation, EndType, IntPoint, Polygons