Back to Aurora Vision Studio website

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

FitArcToPoints


Module: FoundationBasic

Approximates points with an arc using the selected outliers suppression method.

Name Type Description
Input value inPoints Point2DArray
Input value inRange Range* Determines which array points take part in fitting process
Input value inFittingMethod CircleFittingMethod
Input value inOutlierSuppression MEstimator*
Output value outArc Arc2D? Fitted arc or nothing if the computations failed to converge
Output value 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.