You are here: Start » AVL.NET » Invoke.FitPlaneToPoint3DGrid
Approximates points of the input grid with a plane using the Least Squares method.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void FitPlaneToPoint3DGrid ( Avl.Point3DGrid inPointGrid, Optional<Avl.Region> inRoi, out Avl.Plane3D outPlane, 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. | ||
![]() | outPlane | Avl.Plane3D | Fitted 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. |