Skip to main content

cylinder_parameters

Function cylinder_parameters 

Source
pub fn cylinder_parameters(
    cylinder: &Cylinder,
    p: Point,
    tol: Tolerances,
) -> OgeomResult<(f64, f64)>
Expand description

The (angle, height) of the point on a cylinder nearest p.

ยงErrors

OgeomError::Construction if p lies on the axis.