You are here: Start » AVL.NET » AVS.FitLineToPoints3D Method
AVS.FitLineToPoints3D Method
Approximates points in 3D with a line using the Least Squares method.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void FitLineToPoints3D ( IList<AvlNet.Point3D> inPoints, out AvlNet.Line3D outLine, NullableValue<float> outError )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point3D> | ||||
outLine | AvlNet.Line3D | ||||
outError | AvlNet.NullableValue<float> | Can be null to skip this parameter calculation. |