pub fn cone_parameters(
cone: &Cone,
p: Point,
tol: Tolerances,
) -> OgeomResult<(f64, f64)>Expand description
The (angle, height) of the point on a cone nearest p.
In the half-plane through the axis and p the cone is two rays from
the apex: its own nappe at p’s angle, and the far nappe, past the
apex, half a turn round (where the radius runs negative). The foot is
the nearer of p’s feet on the two.
§Errors
OgeomError::Construction if p lies on the
axis.