Start » Filter Reference » Geometry 2D » Geometry 2D Fitting » FitArcToPoints
Module: | FoundationBasic |
---|
Approximates points with an arc using the selected outliers suppression method.
Name | Type | Description | |
---|---|---|---|
![]() |
inPoints | Point2DArray | |
![]() |
inRange | Range* | Determines which array points take part in fitting process |
![]() |
inFittingMethod | CircleFittingMethod | |
![]() |
inOutlierSuppression | MEstimator* | |
![]() |
outArc | Arc2D? | Fitted arc or nothing if the computations failed to converge |
![]() |
outInliers | Point2DArray | Points matching the fitting arc |
Examples
![]() |
The resulting outArc drawn with the input points, inFittingMethod = AlgebraicKasa and inOutlierSuppression = Auto.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Outlier suppression is supported only in algebraic fitting methods. |
DomainError | Range exceeds the input point array in FitArcToPoints. |
Complexity Level
This filter is available on Advanced Complexity Level.