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
Input value inReference Point3DGrid Reference grid
Input value inCompare Point3DGrid Data points for which the distances will be computed.
Input value inRoi Region | None None Range of points for which the distance will be computed.
Input value inThreshold float 0.0 - Defines for each data point a maximum allowed distance to the reference grid.
Output value outCorrectPoints list[Point3D] All data points with distance to the reference grid smaller that the given threshold
Output value outIncorrectPoints list[Point3D] All data points with distance to reference grid greater that the given threshold
Output value outMaxDistance float Maximum computed distance
Output value outMinDistance float Minimum computed distance
Output value outDistances list[float] All computed distances