You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » AVL.FitPlaneToPoint3DGrid_M

AVL.FitPlaneToPoint3DGrid_M

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void FitPlaneToPoint3DGrid_M
(
	AvlNet.Point3DGrid inPointGrid,
	AvlNet.MEstimator inOutlierSuppression,
	float inClippingFactor,
	int inIterationCount,
	out AvlNet.Plane3D outPlane
)

Parameters

Name Type Range Default Description
inPointGridAvlNet.Point3DGridInput point grid.
inOutlierSuppressionAvlNet.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.
outPlaneAvlNet.Plane3DFitted plane.

Errors

List of possible exceptions:

Error type Description
DomainError No points to fit the plane to in FitPlaneToPoint3DGrid_M.

Function Overrides

See also