PathsD

Delphi TPaths = array of TPathD;

C++ typedef std::vector< PathD > PathsD;

C#  using PathsD = List<List< PointD >>;


PathsD represent one or more PathD structures. While a single path can represent a simple polygon, multiple paths are usually required to define complex polygons that contain one or more holes.

While it's usual to list outer path contours before their inner path (hole) contours, this isn't strictly necessary. Whether a given path in a PathsD object is a hole or otherwise is derived by its geometric position relative to the other paths in the PathsD object and with reference to a filling rule that's usually associated with PathsD objects.

See Also

ClipperD.AddClip, ClipperD.AddOpenSubject, ClipperD.AddSubject, ClipperD.Execute, InflatePaths, FillRule, Path64, PathD, Paths64, PointD