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

Invoke.FitLineToPoints3D_M

Approximates points in 3D with a line using selected M-estimator for outlier suppression.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitLineToPoints3D_M
(
	List<Fil.Point3D> inPoints,
	Fil.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	Optional<Fil.Line3D> inInitialLine,
	out Fil.Line3D outLine,
	Optional<List<Fil.Point3D>> outInliers
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Fil.Point3D>
inOutlierSuppressionFil.MEstimator
inClippingFactorfloat<0.675f, 6.0f>2.5fMultitude of standard deviation within which points are considered inliers. Default value: 2.5f.
inIterationCountint<0, INF>5Number of iterations of outlier suppressing algorithm. Default value: 5.
inInitialLineFtl.Optional<Fil.Line3D>Initial approximation (if available). Default value: ftl::NIL.
outLineFil.Line3D
outInliersFtl.Optional<System.Collections.Generic.List<Fil.Point3D>>Points matching the computed line.

See also