Skip to content

BooleanOp

Seth Hillbrand edited this page Oct 29, 2026 · 2 revisions

Home › clipper.h › BooleanOp

BooleanOp

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).

See Also

Difference, Intersect, Union, XOR

Clone this wiki locally