Skip to main content

divide_by_area

Function divide_by_area 

Source
pub fn divide_by_area(
    model: &mut Model,
    shape: &Shape,
    max_area: f64,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Cut every face of shape larger than max_area in half, across its longer extent, until none is.

ยงErrors

OgeomError::Construction if max_area is not a positive area, and as divide_face.