You are here: Start » AVL.NET » AVS.FitLineToPoints_LTE Method

AVS.FitLineToPoints_LTE Method

Approximates points with a line using Least Trimmed Error algorithm.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitLineToPoints_LTE
(
	IList<AvlNet.Point2D> inPoints,
	int inSeedSubsetSize,
	out AvlNet.Line2D outLine
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Input points.
inSeedSubsetSizeint<2, 10>3Number of points in one combination for getting a sample line. Default value: 3.
outLineAvlNet.Line2DFitted line.

Function Overrides

See also