You are here: Start » FIL.NET » FIS.FitLineToPoints_LTE Method

FIS.FitLineToPoints_LTE Method

Approximates points with a line using Least Trimmed Error algorithm.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void FitLineToPoints_LTE
(
	IList<FilNet.Point2D> inPoints,
	int inSeedSubsetSize,
	out FilNet.Line2D outLine,
	NullableRef<List<FilNet.Point2D>> outLTInliers,
	NullableValue<float> outLTError
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<FilNet.Point2D>Input points.
inSeedSubsetSizeint<2, 10>3Number of points in one combination for getting a sample line. Default value: 3.
outLineFilNet.Line2DFitted line.
outLTInliersFilNet.NullableRef<System.Collections.Generic.List<FilNet.Point2D>>Inlying points of the best LTE line. Can be null to skip this parameter calculation.
outLTErrorFilNet.NullableValue<float>The Least Trimmed Error. Can be null to skip this parameter calculation.

Function Overrides

See also