You are here: Start » AVL.NET » Invoke.FitPlaneToPoint3DGrid_M
Approximates points of the input grid with a plane using selected M-estimator for outlier suppression.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void FitPlaneToPoint3DGrid_M ( Avl.Point3DGrid inPointGrid, 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 | |
|---|---|---|---|---|---|
![]()  | inPointGrid | Avl.Point3DGrid | Input point grid. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]()  | inOutlierSuppression | Avl.MEstimator | Selects a method for ignoring points being much different from the rest. | ||
![]()  | inClippingFactor | float | <0.675f, 6.0f> | 2.5f | Multitude of standard deviation within which points are considered inliers. Default value: 2.5f. | 
![]()  | inIterationCount | int | <0, INF> | 5 | Number of iterations of outlier suppressing algorithm. Default value: 5. | 
![]()  | inInitialPlane | Atl.Optional<Avl.Plane3D> | Initial approximation (if available). Default value: atl::NIL. | ||
![]()  | outPlane | Avl.Plane3D | Fitted plane. | ||
![]()  | outInliers | Atl.Optional<System.Collections.Generic.List<Avl.Point3D>> | Points matching the computed plane. | ||
![]()  | outDistances | Atl.Optional<System.Collections.Generic.List<float>> | Distances of the input grid points to a resulting plane. | ||
![]()  | outSignedDistanceSum | Atl.Optional<float> | Sum of signed distances of the input grid points to a resulting plane. | ||
![]()  | outDistanceSum | Atl.Optional<float> | Sum of distances of the input grid points to a resulting plane. | ||
![]()  | outSquaredDistances | Atl.Optional<System.Collections.Generic.List<float>> | Squared distances of the input grid points to a resulting plane. | ||
![]()  | outSquaredDistanceSum | Atl.Optional<float> | Sum of squared distances of the input grid points to a resulting plane. | 


