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 an ExPolygons structure.


See Also

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