You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Fitting » FIL.FitLineToPoints3D_LTE
Approximates points in 3D with a line using Least Trimmed Error algorithm.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void FitLineToPoints3D_LTE ( IList<FilNet.Point3D> inPoints, int inSeedSubsetSize, int? inEvalSubsetSize, out FilNet.Line3D outLine )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<FilNet.Point3D> | |||
![]() | inSeedSubsetSize | int | <2, 10> | 3 | Number of points in one combination for getting a sample line. Default value: 3. |
![]() | inEvalSubsetSize | int? | <3, INF> | Number of closest points used for evaluation of a sample line, or Auto if seed points are to be used. Default value: ftl::NIL. | |
![]() | outLine | FilNet.Line3D | Fitted line. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty inPoints array in FitLineToPoints3D_LTE. |
Function Overrides
- FitLineToPoints3D_LTE(IList<Point3D>, Int32, Line3D)
- FitLineToPoints3D_LTE(IList<Point3D>, Int32, Nullable<Int32>, Line3D, NullableRef<List<Point3D>>, NullableValue<Single>)
- FitLineToPoints3D_LTE(IList<Point3D>, Int32, Nullable<Int32>, Line3D, IList<Point3D>, Single, Int32)
- FitLineToPoints3D_LTE(IList<Point3D>, Int32, Nullable<Int32>, Line3D, NullableRef<List<Point3D>>, NullableValue<Single>, Int32)