Skip to main content

plane

Function plane 

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

The plane through points in space.

ยงErrors

As every fit: OgeomError::Construction with too few points (three, or one with the normal fixed) or with them all within the confusion distance of one line, and OgeomError::Domain for an option this kind has no use for (a side, a radius, an axis) or a point that is not finite.