Skip to main content

broken_section

Function broken_section 

Source
pub fn broken_section(
    model: &mut Model,
    solid: &Shape,
    plane: &Plane,
    window_min: (f64, f64),
    window_max: (f64, f64),
    deflection: Deflection,
    tol: Tolerances,
) -> OgeomResult<SectionView>
Expand description

Cut only within a window of the plane: the broken-out section.

The window is a rectangle in the plane’s (x, y), and only material on the +z side behind that rectangle is removed.

§Errors

As section().