Function boolean_prisms_exact

Source
pub fn boolean_prisms_exact(
    subject: &Prism,
    tool: &Prism,
    operator: BooleanOperator,
    tolerance: Tolerance,
) -> Result<ExactBRep, GeomError>
Expand description

Exact boolean of two coaxial prisms.

Returns an exact B-rep, or a typed refusal. Never falls back to a mesh. Operands with differing spans give a stepped solid, built exactly with ledge faces where the section changes (#120).

A result that falls apart into several separate solids is refused here, because one ExactBRep is one solid and returning just one piece would silently discard material. boolean_prisms_exact_solids returns every piece.