You are here: Start » FIL.NET » Invoke.FitLineToPoints3D_M
Approximates points in 3D with a line using selected M-estimator for outlier suppression.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitLineToPoints3D_M ( List<Fil.Point3D> inPoints, Fil.MEstimator inOutlierSuppression, float inClippingFactor, int inIterationCount, Optional<Fil.Line3D> inInitialLine, out Fil.Line3D outLine, Optional<List<Fil.Point3D>> outInliers )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Fil.Point3D> | |||
![]() | inOutlierSuppression | Fil.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 | Ftl.Optional<Fil.Line3D> | Initial approximation (if available). Default value: ftl::NIL. | ||
![]() | outLine | Fil.Line3D | |||
![]() | outInliers | Ftl.Optional<System.Collections.Generic.List<Fil.Point3D>> | Points matching the computed line. |