Skip to content

M_Rhino_Geometry_Plane_FitPlaneToPoints_1

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Plane.FitPlaneToPoints Method (IEnumerable(Point3d), Plane, Double)

Fit a plane through a collection of points.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

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

Parameters

 

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.

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Plane Structure
FitPlaneToPoints Overload
Rhino.Geometry Namespace

Clone this wiki locally