You are here: Start » FIL.NET » Invoke.FitSegmentToPoints3D_LTE
Approximates points in 3D with a segment using a RANSAC algorithm.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitSegmentToPoints3D_LTE ( List<Fil.Point3D> inPoints, int inSeedSubsetSize, Optional<int> inEvalSubsetSize, out Fil.Segment3D outSegment, Optional<List<Fil.Point3D>> outLTInliers, Optional<float> outLTError, Diagnostic<int> diagIterationCount )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Fil.Point3D> | |||
![]() | inSeedSubsetSize | int | <2, 10> | 3 | Number of points in one combination for getting a sample segment. Default value: 3. |
![]() | inEvalSubsetSize | Ftl.Optional<int> | <3, INF> | Number of closest points used for evaluation of a sample segment, or Auto if seed points are to be used. Default value: ftl::NIL. | |
![]() | outSegment | Fil.Segment3D | Fitted segment. | ||
![]() | outLTInliers | Ftl.Optional<System.Collections.Generic.List<Fil.Point3D>> | Inlying points of the best LTE segment. | ||
![]() | outLTError | Ftl.Optional<float> | The Least Trimmed Error. | ||
![]() | diagIterationCount | Fil.Diagnostic<int> | Number of combinations considered. |