M_Rhino_Geometry_Plane_FitPlaneToPoints_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Fit a plane through a collection of points.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static PlaneFitResult FitPlaneToPoints(
IEnumerable<Point3d> points,
out Plane plane,
out double maximumDeviation
)
VB
Public Shared Function FitPlaneToPoints (
points As IEnumerable(Of Point3d),
<OutAttribute> ByRef plane As Plane,
<OutAttribute> ByRef maximumDeviation As Double
) As PlaneFitResult
- points
- Type: System.Collections.Generic.IEnumerable(Point3d)
Points to fit to. - plane
- Type: Rhino.Geometry.Plane
Resulting plane. - maximumDeviation
- Type: System.Double
The distance from the furthest point to the plane.
Type: PlaneFitResult
A value indicating the result of the operation.
Supported in: 6.0.16224.21491, 5D58w
Plane Structure
FitPlaneToPoints Overload
Rhino.Geometry Namespace