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

FIS.FitSegmentToPoints_LTE Method

Approximates points with a segment using Least Trimmed Error algorithm.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void FitSegmentToPoints_LTE
(
	IList<FilNet.Point2D> inPoints,
	int inSeedSubsetSize,
	out FilNet.Segment2D outSegment,
	NullableRef<List<FilNet.Point2D>> outLTInliers,
	NullableValue<float> outLTError,
	out int diagIterationCount
)

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 segment. Default value: 3.
outSegmentFilNet.Segment2DFitted segment.
outLTInliersFilNet.NullableRef<System.Collections.Generic.List<FilNet.Point2D>>Inlying points of the best LTE segment. Can be null to skip this parameter calculation.
outLTErrorFilNet.NullableValue<float>The Least Trimmed Error. Can be null to skip this parameter calculation.
diagIterationCountintNumber of combinations considered.

Function Overrides

See also