You are here: Start » AVL.NET » AVL.FitArcToPoints
Approximates points with an arc using the selected outliers suppression method.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void FitArcToPoints ( AvlNet.Point2D[] inPoints, AvlNet.CircleFittingMethod inFittingMethod, AvlNet.MEstimator? inOutlierSuppression, out AvlNet.Arc2D? outArc )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | AvlNet.Point2D[] | |||
![]() | inFittingMethod | AvlNet.CircleFittingMethod | |||
![]() | inOutlierSuppression | AvlNet.MEstimator? | |||
![]() | outArc | AvlNet.Arc2D? | Fitted arc or nothing if the computations failed to converge. |
Examples
![]() |
The resulting outArc drawn with the input points, inFittingMethod = AlgebraicKasa and inOutlierSuppression = Auto.