You are here: Start » AVL.NET » AVL.FitSegmentToPoints3D
Approximates points in 3D with a segment using selected outliers suppression method.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FitSegmentToPoints3D ( IList<AvlNet.Point3D> inPoints, AvlNet.MEstimator? inOutlierSuppression, INullable<AvlNet.Segment3D> outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point3D> | ||||
inOutlierSuppression | AvlNet.MEstimator? | Tukey | Default value: Tukey. | ||
outSegment | AvlNet.INullable<AvlNet.Segment3D> | Fitted segment or nothing if method failed to converge. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty point array on input in FitSegmentToPoints3D. |