You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Fitting » AVL.Point3DGridDistance

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,
	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
inReferenceAvlNet.Point3DGridReference grid.
inCompareAvlNet.Point3DGridData points for which the distances will be computed.
inThresholdfloat<0.0f, INF>Defines for each data point a maximum allowed distance to the reference grid.
outCorrectPointsSystem.Collections.Generic.IList<AvlNet.Point3D>All data points with distance to the reference grid smaller that the given threshold.
outIncorrectPointsSystem.Collections.Generic.IList<AvlNet.Point3D>All data points with distance to reference grid greater that the given threshold.
outMaxDistancefloatMaximum computed distance.
outMinDistancefloatMinimum computed distance.
outDistancesSystem.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.

Function Overrides

See also