You are here: Start » FIL.NET » Invoke.FitSegmentToPoints_LTE

Invoke.FitSegmentToPoints_LTE

Approximates points with a segment using Least Trimmed Error algorithm.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitSegmentToPoints_LTE
(
	List<Fil.Point2D> inPoints,
	Optional<Fil.Range> inRange,
	int inSeedSubsetSize,
	Optional<int> inEvalSubsetSize,
	out Fil.Segment2D outSegment,
	Optional<List<Fil.Point2D>> outLTInliers,
	Optional<float> outLTError,
	Diagnostic<int> diagIterationCount
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Fil.Point2D>Input points.
inRangeFtl.Optional<Fil.Range>Determines which array points take part in fitting process. Default value: ftl::NIL.
inSeedSubsetSizeint<2, 10>3Number of points in one combination for getting a sample segment. Default value: 3.
inEvalSubsetSizeFtl.Optional<int><3, INF>Number of closest points used for evaluation of a sample segment, or Auto if seed points are to be used. Default value: ftl::NIL.
outSegmentFil.Segment2DFitted segment.
outLTInliersFtl.Optional<System.Collections.Generic.List<Fil.Point2D>>Inlying points of the best LTE segment.
outLTErrorFtl.Optional<float>The Least Trimmed Error.
diagIterationCountFil.Diagnostic<int>Number of combinations considered.

See also