You are here: Start » AVL.NET » Invoke.FitLineToPoints3D_M
Approximates points in 3D with a line using selected M-estimator for outlier suppression.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void FitLineToPoints3D_M ( List<Avl.Point3D> inPoints, Avl.MEstimator inOutlierSuppression, float inClippingFactor, int inIterationCount, Optional<Avl.Line3D> inInitialLine, out Avl.Line3D outLine, Optional<List<Avl.Point3D>> outInliers )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Avl.Point3D> | |||
![]() | inOutlierSuppression | Avl.MEstimator | |||
![]() | inClippingFactor | float | <0.675f, 6.0f> | 2.5f | Multitude of standard deviation within which points are considered inliers. Default value: 2.5f. |
![]() | inIterationCount | int | <0, INF> | 5 | Number of iterations of outlier suppressing algorithm. Default value: 5. |
![]() | inInitialLine | Atl.Optional<Avl.Line3D> | Initial approximation (if available). Default value: atl::NIL. | ||
![]() | outLine | Avl.Line3D | |||
![]() | outInliers | Atl.Optional<System.Collections.Generic.List<Avl.Point3D>> | Points matching the computed line. |