You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » AVL.Point3DGridDistance
Computes distances between two input grids.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void Point3DGridDistance ( AvlNet.Point3DGrid inReference, AvlNet.Point3DGrid inCompare, NullableRef<AvlNet.Region> inRoi, float inThreshold, IList<AvlNet.Point3D> outCorrectPoints, IList<AvlNet.Point3D> outIncorrectPoints, out float outMaxDistance, out float outMinDistance, IList<float> outDistances )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inReference | AvlNet.Point3DGrid | Reference grid. | |||
inCompare | AvlNet.Point3DGrid | Data points for which the distances will be computed. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of points for which the distance will be computed. Default value: atl::NIL. | |||
inThreshold | float | <0.0f, INF> | Defines for each data point a maximum allowed distance to the reference grid. | ||
outCorrectPoints | System.Collections.Generic.IList<AvlNet.Point3D> | All data points with distance to the reference grid smaller that the given threshold. | |||
outIncorrectPoints | System.Collections.Generic.IList<AvlNet.Point3D> | All data points with distance to reference grid greater that the given threshold. | |||
outMaxDistance | float | Maximum computed distance. | |||
outMinDistance | float | Minimum computed distance. | |||
outDistances | System.Collections.Generic.IList<float> | All computed distances. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input point array is empty in Point3DGridDistance. |
DomainError | Region of interest exceeds an input Point3DGrid in Point3DGridDistance. |