Click or drag to resize
CVVUiCloseXYZM Method
Find the closest point to an input point, with mask (XYZ).

Available since Oasis montaj version: 5.1.8
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Input X, Y and Z location VVs, and a location. Returns the index of the point in the VV closest to the input point. This skips points where the mask value is dummy. If no valid points are in the VVs, or all the mask VV values are dummy, the returned index is -1.
Syntax
public static int iCloseXYZM(
	CVV oVV1,
	CVV oVV2,
	CVV oVV3,
	CVV oVV4,
	double d5,
	double d6,
	double d7
)

Parameters

oVV1
Type: GeoEngine.Core.GXNetCVV
X locations
oVV2
Type: GeoEngine.Core.GXNetCVV
Y locations
oVV3
Type: GeoEngine.Core.GXNetCVV
Z locations
oVV4
Type: GeoEngine.Core.GXNetCVV
Mask values
d5
Type: SystemDouble
input X
d6
Type: SystemDouble
input Y
d7
Type: SystemDouble
input Z

Return Value

Type: Int32
Index of closest point, -1 if no valid locations, or data is masked.
See Also