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

Invoke.FitLineToPoints3D_M

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Avl.Point3D>
inOutlierSuppressionAvl.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.
inInitialLineAtl.Optional<Avl.Line3D>Initial approximation (if available). Default value: atl::NIL.
outLineAvl.Line3D
outInliersAtl.Optional<System.Collections.Generic.List<Avl.Point3D>>Points matching the computed line.

See also