Polygons

The Clipper Library

Polygons

Del.» TPolygons = array of TPolygon;

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

C#  » using Polygons = List<List< IntPoint >>;

This structure encapsulates one or a number of outer and inner 'hole' Polygon contours (where inner polygon contours have an Orientation opposite that of outer contours).

Polygons can be passed to Clipper objects via the AddPolygons method.

The solution parameter in Clipper's overloaded Execute method can return either a Polygons structure or a PolyTree structure.


See Also

Clipper.Execute, ClipperBase.AddPolygons, PolyTree, Orientation, IntPoint, Polygon