Function boolean_prisms_exact_solids

Source
pub fn boolean_prisms_exact_solids(
    subject: &Prism,
    tool: &Prism,
    operator: BooleanOperator,
    tolerance: Tolerance,
) -> GeomResult<Vec<ExactBRep>>
Expand description

Exact boolean of two coaxial prisms, one exact B-rep per separate piece.

Same reduction and refusals as boolean_prisms_exact, except that a result which falls apart into several solids (a difference cutting a wall in two, an intersection of two separate islands) returns every piece instead of refusing, and an empty result is an empty list rather than an error.

Solids are ordered by the lowest vertex of their outer boundary, x first and then y, so the order is stable across runs and does not depend on the overlay’s internal traversal.