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

AVL.FitArcToPath Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitArcToPath(
	AvlNet.Path inPath,
	AvlNet.CircleFittingMethod inFittingMethod,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Arc2D? outArc
)

Parameters

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

See also