Click or drag to resize

CVVUiCloseXYZ Method

Find the closest point to an input point (XYZ).

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static int iCloseXYZ(
	CGXNETCore gxNetShared,
	CVV vv_x,
	CVV vv_y,
	CVV vv_z,
	double x,
	double y,
	double z
)

public static int iCloseXYZ(
	CGXNETCore gxNetShared,
	CVV vv_x,
	CVV vv_y,
	CVV vv_z,
	double x,
	double y,
	double z
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
vv_x
Type: GeoEngine.Core.GXNetXCVV
X locations
vv_y
Type: GeoEngine.Core.GXNetXCVV
Y locations
vv_z
Type: GeoEngine.Core.GXNetXCVV
Z locations
x
Type: SystemDouble
Input X
y
Type: SystemDouble
Input Y
z
Type: SystemDouble
Input Z

Return Value

Type: Int32
Index of closest point, -1 if no valid locations, or data is masked.
Remarks
Input X, Y and Z location VVs, and a location. Returns the index of the point in the VV closest to the input point.
See Also