Function union_prisms_stepped

Source
pub fn union_prisms_stepped(
    subject: &Prism,
    tool: &Prism,
    tolerance: Tolerance,
) -> GeomResult<Vec<Band>>
Expand description

Decompose a coaxial union into constant-section bands, bottom to top.

Returns one Band per height interval over which the set of active operands does not change. A union whose operands span the same height yields exactly one band, which is the case boolean_prisms_exact already handles.

Operands that do not touch are refused: their union is two separate solids, and a band stack describes one.