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

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

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,
	out AvlNet.Line2D outLine
)

Parameters

inPoints
Type: AvlNet.Point2D
Input points
inSeedSubsetSize
Type: System.Int32
Number of points in one combination for getting a sample line
outLine
Type: AvlNet.Line2D
Fitted line

See also