You are here: Start » FIL.NET » Invoke.FitCircleToPoints
Approximates points with a circle using selected outliers suppression method.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void FitCircleToPoints ( List<Fil.Point2D> inPoints, Optional<Fil.Range> inRange, Fil.CircleFittingMethod inFittingMethod, Optional<Fil.MEstimator> inOutlierSuppression, Conditional<Fil.Circle2D> outCircle, Optional<List<Fil.Point2D>> outInliers )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Fil.Point2D> | |||
![]() | inRange | Ftl.Optional<Fil.Range> | Determines which array points take part in fitting process. Default value: ftl::NIL. | ||
![]() | inFittingMethod | Fil.CircleFittingMethod | |||
![]() | inOutlierSuppression | Ftl.Optional<Fil.MEstimator> | |||
![]() | outCircle | Ftl.Conditional<Fil.Circle2D> | Fitted circle or nothing if method failed to converge. | ||
![]() | outInliers | Ftl.Optional<System.Collections.Generic.List<Fil.Point2D>> | Points matching the computed circle. |