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

AVL.FitLineToPoints_LTE(AvlNet.Point2D[], int, int?, AvlNet.Line2D, int)

Approximates points with a line using Least Trimmed Error algorithm.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void FitLineToPoints_LTE(
	AvlNet.Point2D[] inPoints,
	int inSeedSubsetSize,
	int? inEvalSubsetSize,
	out AvlNet.Line2D outLine,
	out int diagIterationCount
)

Parameters

inPoints
Type: AvlNet.Point2D
Input points
inSeedSubsetSize
Type: System.Int32
Number of points in one combination for getting a sample line
inEvalSubsetSize
Type: System.Nullable<System.Int32>
Number of closest points used for evaluation of a sample line, or Auto if seed points are to be used, or null.
outLine
Type: AvlNet.Line2D
Fitted line
diagIterationCount
Type: System.Int32
Number of combinations considered

See also