Skip to main content

make_sphere

Function make_sphere 

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

Build a sphere of radius centred at frame’s origin.

§Errors

OgeomError::Construction if radius is not finite and positive.