Skip to main content

torus

Function torus 

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

The torus through points.

FitFixed::radius and FitOptions::radius_range are the tube’s (minor) radius.

§Errors

As sphere, with seven points needed, fewer with parts of it fixed; refused where no axis is determined.