Point3DGridDistance
Computes distances between two input grids.
Syntax
C++
C#
Python
def Point3DGridDistance( inReference: Point3DGrid, inCompare: Point3DGrid, inThreshold: float, /, *, inRoi: Region | None = None ) -> ( outCorrectPoints: list[Point3D], outIncorrectPoints: list[Point3D], outMaxDistance: float, outMinDistance: float, outDistances: list[float] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inReference | Point3DGrid | Reference grid | ||
![]() |
inCompare | Point3DGrid | Data points for which the distances will be computed. | ||
![]() |
inRoi | Region | None | None | Range of points for which the distance will be computed. | |
![]() |
inThreshold | float | 0.0 - ![]() |
Defines for each data point a maximum allowed distance to the reference grid. | |
![]() |
outCorrectPoints | list[Point3D] | All data points with distance to the reference grid smaller that the given threshold | ||
![]() |
outIncorrectPoints | list[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 | list[float] | All computed distances |



