Clipper.Engine

The Clipper64 and ClipperD classes in this unit encapsulate all the logic that performs path clipping. Clipper64 clips Paths64 paths, and ClipperD clips PathsD paths.

The PolyTree64 and PolyTreeD classes are optional data structures that, like Paths64 and PathsD, receive polygon solutions from clipping operations. However, unlike Paths64 and PathsD, the Polytree structure also exposes polygon ownership (which outer polygon contours contain holes and which holes contain other polygons, to any level of nesting). Building Polytrees (polygons in nested tree structures) does require more processing, so using this data structure will reduce clipping performance by roughly 5-10%.

For most clipping operations you won't need to use the Clipper64 and ClipperD classes directly because the clipping functions in the Clipper unit nicely hide the mechanics of using these classes. Nevertheless you may need to use these classes directly for some clipping tasks (eg. when clipping open paths).

Contents

Classes
Clipper64 ClipperD PolyPath64 PolyPathD PolyTree64 PolyTreeD

See Also

Overview, Clipper64, ClipperD, PolyTree64, PolyTreeD, Clipper, Paths64, PathsD