Click or drag to resize
PlaneFitPlaneToPoints Method (IEnumerablePoint3d, Plane, Double)
Fit a plane through a collection of points.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static PlaneFitResult FitPlaneToPoints(
	IEnumerable<Point3d> points,
	out Plane plane,
	out double maximumDeviation
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint3d
Points to fit to.
plane
Type: Rhino.GeometryPlane
Resulting plane.
maximumDeviation
Type: SystemDouble
The distance from the furthest point to the plane.

Return Value

Type: PlaneFitResult
A value indicating the result of the operation.
See Also