Skip to main content

make_cylinder

Function make_cylinder 

Source
pub fn make_cylinder(
    model: &mut Model,
    frame: Frame,
    radius: f64,
    height: f64,
    tol: Tolerances,
) -> OgeomResult<Built>
Expand description

Build a cylinder in frame: radius about its z, height along it.

ยงErrors

OgeomError::Construction if either dimension is not finite and positive.