Polygon

Del.» TPolygon = array of TIntPoint;

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

C#  » using Polygon = List<IntPoint>;


This structure contains a sequence of vertices defining a single closed path (see also terminology).

Multiple polygons (both outers and holes) are encapsulated within Polygons structures. Holes are indicated by their orientations (NonZero filling rule) and their locations relative to other polygons (EvenOdd filling rule).



See Also

Overview, Example, ClipperBase.AddPolygon, PolyTree, Orientation, IntPoint, PolyFillType, Polygons