PolyType

The Clipper Library

PolyType

Del.» type TPolyType = (ptSubject, ptClip);

C++ » enum PolyType { ptSubject, ptClip };

C#  » public enum PolyType { ptSubject, ptClip };

Boolean (clipping) operations are mostly applied to two sets of Polygons, represented in this library as subject and clip polygons. Whenever Polygons are added to the Clipper object, they must be assigned to either subject or clip polygons.

UNION operations can be performed on one set or both sets of polygons, but all other boolean operations require both sets of polygons to derive meaningful solutions.

See Also

ClipperBase.AddPath, ClipperBase.AddPaths, ClipType