You are here: Start » FIL.NET » FIS.FitLineToPoints3D_LTE Method
FIS.FitLineToPoints3D_LTE Method
Approximates points in 3D with a line using Least Trimmed Error algorithm.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void FitLineToPoints3D_LTE ( IList<FilNet.Point3D> inPoints, int inSeedSubsetSize, int? inEvalSubsetSize, out FilNet.Line3D outLine, NullableRef<List<FilNet.Point3D>> outLTInliers, NullableValue<float> outLTError, out int diagIterationCount )
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. | ||
![]() | outLTInliers | FilNet.NullableRef<System.Collections.Generic.List<FilNet.Point3D>> | Inlying points of the best LTE line. Can be null to skip this parameter calculation. | ||
![]() | outLTError | FilNet.NullableValue<float> | The Least Trimmed Error. Can be null to skip this parameter calculation. | ||
![]() | diagIterationCount | int | Number of combinations considered. |
Function Overrides
- FitLineToPoints3D_LTE(IList<Point3D>, Int32, Line3D)
- FitLineToPoints3D_LTE(IList<Point3D>, Int32, Nullable<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)