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

Invoke.FitPlaneToPoints_M

Approximates points with a plane using selected M-estimator for outlier suppression.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void FitPlaneToPoints_M
(
	List<Fil.Point3D> inPoints,
	Fil.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	Optional<Fil.Plane3D> inInitialPlane,
	out Fil.Plane3D outPlane,
	Optional<List<Fil.Point3D>> outInliers,
	Optional<List<float>> outDistances,
	Optional<float> outSignedDistanceSum,
	Optional<float> outDistanceSum,
	Optional<List<float>> outSquaredDistances,
	Optional<float> outSquaredDistanceSum
)

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.
inInitialPlaneFtl.Optional<Fil.Plane3D>Initial approximation (if available). Default value: ftl::NIL.
outPlaneFil.Plane3D
outInliersFtl.Optional<System.Collections.Generic.List<Fil.Point3D>>Points matching the computed plane.
outDistancesFtl.Optional<System.Collections.Generic.List<float>>Distances of the input points to a resulting plane.
outSignedDistanceSumFtl.Optional<float>Sum of signed distances of the input points to a resulting plane.
outDistanceSumFtl.Optional<float>Sum of distances of the input points to a resulting plane.
outSquaredDistancesFtl.Optional<System.Collections.Generic.List<float>>Squared distances of the input points to a resulting plane.
outSquaredDistanceSumFtl.Optional<float>Sum of squared distances of the input points to a resulting plane.

See also