You are here: Start » FIL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » FIL.Point3DGridDistance
Computes distances between two input grids.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void Point3DGridDistance ( FilNet.Point3DGrid inReference, FilNet.Point3DGrid inCompare, NullableRef<FilNet.Region> inRoi, float inThreshold, IList<FilNet.Point3D> outCorrectPoints, IList<FilNet.Point3D> outIncorrectPoints, out float outMaxDistance, out float outMinDistance, IList<float> outDistances )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inReference | FilNet.Point3DGrid | Reference grid. | ||
![]() | inCompare | FilNet.Point3DGrid | Data points for which the distances will be computed. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of points for which the distance will be computed. Default value: ftl::NIL. | ||
![]() | inThreshold | float | <0.0f, INF> | Defines for each data point a maximum allowed distance to the reference grid. | |
![]() | outCorrectPoints | System.Collections.Generic.IList<FilNet.Point3D> | All data points with distance to the reference grid smaller that the given threshold. | ||
![]() | outIncorrectPoints | System.Collections.Generic.IList<FilNet.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. |