Back to FabImage Studio website

You are here: Start » Filter Reference » Geometry 2D » Geometry 2D Fitting » FitArcToPath

FitArcToPath


Module: FoundationBasic

Approximates path by an arc using the selected outliers suppression method and considering path's start and end.

Name Type Description
Input value inPath Path Input path
Input value inFittingMethod CircleFittingMethod
Input value inOutlierSuppression MEstimator*
Output value 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.