Repository navigation
BooleanOp
Seth Hillbrand edited this page Oct 29, 2026
·
2 revisions
Paths64 BooleanOp(ClipType cliptype, FillRule fillrule,
const Paths64& subjects, const Paths64& clips);
PathsD BooleanOp(ClipType cliptype, FillRule fillrule,
const PathsD& subjects, const PathsD& clips, int precision);
void BooleanOp(ClipType clipType, FillRule fillRule,
const Paths64& subject, const Paths64& clip, PolyTree64& solution);
void BooleanOp(ClipType clipType, FillRule fillRule,
const PathsD& subject, const PathsD& clip, PolyTreeD& solution, int precision);This function is a generic alternative to the Intersect, Difference, Union and XOR functions.
When using floating point types, the precision parameter indicated the desired coordinate precision (up to 8 decimal places).
Copyright © 2010-2025 Angus Johnson. Clipper2 is distributed under the Boost Software License.
Headers
- clipper.h
- clipper.core.h
- clipper.engine.h
- clipper.export.h
- clipper.minkowski.h
- clipper.offset.h
- clipper.rectclip.h
- clipper.triangulation.h
Classes
Data types and structure definitions
- ClipType
- EndType
- FillRule
- JoinType
- Path64
- PathD
- Paths64
- PathsD
- Point64
- PointD
- PointInPolygonResult
- Rect64
- RectD
- TriangulateResult
- ZCallback64
- ZCallbackD
Static Functions
- Area
- BooleanOp
- Difference
- InflatePaths
- Intersect
- IsPositive
- MakePath
- MinkowskiDiff
- MinkowskiSum
- PointInPolygon
- PolyTreeToPaths64
- PolyTreeToPathsD
- RectClip
- RectClipLines
- ReversePath
- SimplifyPaths
- TranslatePath
- Triangulate
- TrimCollinear
- Union
- XOR
Topics