Function boolean

Source
pub fn boolean(
    a: &ExactBRep,
    b: &ExactBRep,
    operator: BooleanOperator,
    tolerance: Tolerance,
) -> Result<ExactBRep, BooleanError>
Expand description

The exact boolean of two exact B-rep solids.

ADR 0075 stages 1 and 2: faces on planes, cylinders, elliptical cylinders, cones, spheres and tori, meeting in any section exact_surface_intersection builds (lines, conics, ruled, torus and traced sections).

ยงErrors

Anything a step refuses (see BooleanError), or a result with nothing left.