FitSegmentToPoints3D
Approximates points in 3D with a segment using selected outliers suppression method.
Syntax
C++
C#
Python
def FitSegmentToPoints3D( inPoints: list[Point3D], /, *, inOutlierSuppression: MEstimator | None = MEstimator.Tukey ) -> ( outSegment: Segment3D | None, outInliers: list[Point3D] )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | list[Point3D] | ||
![]() |
inOutlierSuppression | MEstimator | None | MEstimator.Tukey | |
![]() |
outSegment | Segment3D | None | Fitted segment or nothing if method failed to converge | |
![]() |
outInliers | list[Point3D] | Points matching the computed segment |


