Skip to main content

cone

Function cone 

Source
pub fn cone(
    points: &[Point],
    options: &FitOptions<'_, Cone>,
    tol: Tolerances,
) -> OgeomResult<Fit<Cone>>
Expand description

The cone through points.

The cone’s frame sits on its axis level with the points’ centroid, and widens along its axis.

§Errors

As sphere, with six points needed, fewer with parts of it fixed; refused where no axis is determined or where the points have no taper, lying on a cylinder. A radius range does not apply: a cone’s radius changes along it.