Start » Filter Reference » Geometry 2D » Geometry 2D Fitting » FitArcToPath
Module: | FoundationBasic |
---|
Approximates path by an arc using the selected outliers suppression method and considering path's start and end.
Name | Type | Description | |
---|---|---|---|
![]() |
inPath | Path | Input path |
![]() |
inFittingMethod | CircleFittingMethod | |
![]() |
inOutlierSuppression | MEstimator* | |
![]() |
outArc | Arc2D? | Fitted arc or nothing if the computations failed to converge |
Examples
![]() |
The resulting outArc drawn with the input path, 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. |
Complexity Level
This filter is available on Advanced Complexity Level.