You are here: Start » AVL.NET » AVL.FitArcToPoints Method

AVL.FitArcToPoints Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitArcToPoints(
	AvlNet.Point2D[] inPoints,
	AvlNet.CircleFittingMethod inFittingMethod,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Arc2D? outArc
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point2D
inFittingMethodAvlNet.CircleFittingMethod
inOutlierSuppressionAvlNet.MEstimator?
outArcAvlNet.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.

See also