You are here: Start » AVL.NET » Invoke.FitSegmentToPoints_LTE
Approximates points with a segment using Least Trimmed Error algorithm.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void FitSegmentToPoints_LTE ( List<Avl.Point2D> inPoints, Optional<Avl.Range> inRange, int inSeedSubsetSize, Optional<int> inEvalSubsetSize, out Avl.Segment2D outSegment, Optional<List<Avl.Point2D>> outLTInliers, Optional<float> outLTError, Diagnostic<int> diagIterationCount )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Avl.Point2D> | Input points. | ||
![]() | inRange | Atl.Optional<Avl.Range> | Determines which array points take part in fitting process. Default value: atl::NIL. | ||
![]() | inSeedSubsetSize | int | <2, 10> | 3 | Number of points in one combination for getting a sample segment. Default value: 3. |
![]() | inEvalSubsetSize | Atl.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: atl::NIL. | |
![]() | outSegment | Avl.Segment2D | Fitted segment. | ||
![]() | outLTInliers | Atl.Optional<System.Collections.Generic.List<Avl.Point2D>> | Inlying points of the best LTE segment. | ||
![]() | outLTError | Atl.Optional<float> | The Least Trimmed Error. | ||
![]() | diagIterationCount | Avl.Diagnostic<int> | Number of combinations considered. |