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

Invoke.FitLineToPoints3D_LTE

Approximates points in 3D with a line using Least Trimmed Error algorithm.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitLineToPoints3D_LTE
(
	List<Fil.Point3D> inPoints,
	int inSeedSubsetSize,
	Optional<int> inEvalSubsetSize,
	out Fil.Line3D outLine,
	Optional<List<Fil.Point3D>> outLTInliers,
	Optional<float> outLTError,
	Diagnostic<int> diagIterationCount
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Fil.Point3D>
inSeedSubsetSizeint<2, 10>3Number of points in one combination for getting a sample line. Default value: 3.
inEvalSubsetSizeFtl.Optional<int><3, INF>Number of closest points used for evaluation of a sample line, or Auto if seed points are to be used. Default value: ftl::NIL.
outLineFil.Line3DFitted line.
outLTInliersFtl.Optional<System.Collections.Generic.List<Fil.Point3D>>Inlying points of the best LTE line.
outLTErrorFtl.Optional<float>The Least Trimmed Error.
diagIterationCountFil.Diagnostic<int>Number of combinations considered.

See also