You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Fitting » FIL.FitLineToPoints3D
Approximates points in 3D with a line using the Least Squares method.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void FitLineToPoints3D ( IList<FilNet.Point3D> inPoints, out FilNet.Line3D outLine, out float outError )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<FilNet.Point3D> | |||
![]() | outLine | FilNet.Line3D | |||
![]() | outError | float |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty point array in FitLineToPoints3D. |
Function Overrides
- FitLineToPoints3D(IList<Point3D>, Line3D)
- FitLineToPoints3D(IList<Point3D>, Line3D, NullableValue<Single>)