Skip to main content

divide_by_angle

Function divide_by_angle 

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

Cut every face of shape whose angular parameters (a drum’s, cone’s, ball’s, torus’s or revolution’s turn) sweep more than max_angle, into equal pieces sweeping no more than it. A closed face comes apart at its seam into open ones.

§Errors

OgeomError::Construction if max_angle is not a positive angle, and as divide_face.