Utility.FitLine (IList<Point3D>, out Point3D, out Vector3D) Method

Linear fitting of 3D points using orthogonal regression.
Public Shared Sub FitLine( _ 
ByVal points As IList(Of Point3D), _ 
ByRef p As Point3D, _ 
ByRef dir As Vector3D
)
This language is not supported or no code example is available.
public static void FitLine( 
IList<Point3D> points
out Point3D p
out Vector3D dir 
)
This language is not supported or no code example is available.

Parameters

points
IList<Point3D>

List of points to be fitted

p
Point3D

The line origin

dir
Vector3D

The line direction

.NET Framework

Supported in: 4.8

In this article

Definition