You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Fitting » AVL.FitSegmentToPoints3D_LTE
Approximates points in 3D with a segment using a RANSAC algorithm.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FitSegmentToPoints3D_LTE ( IList<AvlNet.Point3D> inPoints, int inSeedSubsetSize, out AvlNet.Segment3D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point3D> | ||||
inSeedSubsetSize | int | <2, 10> | 3 | Number of points in one combination for getting a sample segment. Default value: 3. | |
outSegment | AvlNet.Segment3D | Fitted segment. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty inPoints array in FitSegmentToPoints3D_LTE. |
Function Overrides
- FitSegmentToPoints3D_LTE(IList<Point3D>, Int32, Nullable<Int32>, Segment3D)
- FitSegmentToPoints3D_LTE(IList<Point3D>, Int32, Nullable<Int32>, Segment3D, NullableRef<List<Point3D>>, NullableValue<Single>)
- FitSegmentToPoints3D_LTE(IList<Point3D>, Int32, Nullable<Int32>, Segment3D, IList<Point3D>, Single, Int32)
- FitSegmentToPoints3D_LTE(IList<Point3D>, Int32, Nullable<Int32>, Segment3D, NullableRef<List<Point3D>>, NullableValue<Single>, Int32)