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

Invoke.FitPlaneToSurface_M

Approximates points of the input surface with a plane using selected M-estimator for outlier suppression.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitPlaneToSurface_M
(
	Avl.Surface inSurface,
	Optional<Avl.Region> inRoi,
	Avl.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	Optional<Avl.Plane3D> inInitialPlane,
	out Avl.Plane3D outPlane,
	Optional<List<Avl.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
inSurfaceAvl.SurfaceInput surface.
inRoiAtl.Optional<Avl.Region>Region of interest. Default value: atl::NIL.
inOutlierSuppressionAvl.MEstimatorSelects a method for ignoring points being much different from the rest.
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.
inInitialPlaneAtl.Optional<Avl.Plane3D>Initial approximation (if available). Default value: atl::NIL.
outPlaneAvl.Plane3DFitted plane.
outInliersAtl.Optional<System.Collections.Generic.List<Avl.Point3D>>Points matching the computed plane.
outDistancesAtl.Optional<System.Collections.Generic.List<float>>Distances of the input points to a resulting plane.
outSignedDistanceSumAtl.Optional<float>Sum of signed distances of the input points to a resulting plane.
outDistanceSumAtl.Optional<float>Sum of distances of the input points to a resulting plane.
outSquaredDistancesAtl.Optional<System.Collections.Generic.List<float>>Squared distances of the input points to a resulting plane.
outSquaredDistanceSumAtl.Optional<float>Sum of squared distances of the input points to a resulting plane.

See also