You are here: Start » AVL.NET » AVL.FitLineToPoints3D Method
AVL.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( AvlNet.Point3D[] inPoints, out AvlNet.Line3D outLine )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPoints | AvlNet.Point3D | |||
![]() | outLine | AvlNet.Line3D |
Errors
| Error type | Description |
|---|---|
| DomainError | Empty point array in FitLineToPoints3D. |


