You are here: Start » AVL.NET » AVL.FitLineToPoints_M(AvlNet.Point2D[], AvlNet.MEstimator, float, int, AvlNet.Line2D?, AvlNet.Line2D)

AVL.FitLineToPoints_M(AvlNet.Point2D[], AvlNet.MEstimator, float, int, AvlNet.Line2D?, AvlNet.Line2D)

Approximates points with a line using selected M-estimator for outlier suppression.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void FitLineToPoints_M(
	AvlNet.Point2D[] inPoints,
	AvlNet.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	AvlNet.Line2D? inInitialLine,
	out AvlNet.Line2D outLine
)

Parameters

inPoints
Type: AvlNet.Point2D
inOutlierSuppression
Type: AvlNet.MEstimator
inClippingFactor
Type: System.Single
Multitude of standard deviation within which points are considered inliers
inIterationCount
Type: System.Int32
Number of iterations of outlier suppressing algorithm
inInitialLine
Type: System.Nullable<AvlNet.Line2D>
Initial approximation (if available), or null.
outLine
Type: AvlNet.Line2D

Remarks

See full override for more details.

See also