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 ( AvlNet.Point3D[] inPoints, AvlNet.MEstimator? inOutlierSuppression, out AvlNet.Segment3D? outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | AvlNet.Point3D[] | |||
![]() | inOutlierSuppression | AvlNet.MEstimator? | Tukey | Default value: Tukey, or null. | |
![]() | outSegment | AvlNet.Segment3D? | Fitted segment or nothing if method failed to converge. |
Errors
Error type | Description |
---|---|
DomainError | Empty point array on input in FitSegmentToPoints3D. |