| CVVUiCloseXYZ Method |
Find the closest point to an input point (XYZ).
Available since Oasis montaj version: 5.1.8
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetAssembly: 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.
Syntax public static int iCloseXYZ(
CVV oVV1,
CVV oVV2,
CVV oVV3,
double d4,
double d5,
double d6
)
Public Shared Function iCloseXYZ (
oVV1 As CVV,
oVV2 As CVV,
oVV3 As CVV,
d4 As Double,
d5 As Double,
d6 As Double
) As Integer
public:
static int iCloseXYZ(
CVV^ oVV1,
CVV^ oVV2,
CVV^ oVV3,
double d4,
double d5,
double d6
)
static member iCloseXYZ :
oVV1 : CVV *
oVV2 : CVV *
oVV3 : CVV *
d4 : float *
d5 : float *
d6 : float -> int
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
X locations - oVV2
- Type: GeoEngine.Core.GXNetCVV
Y locations - oVV3
- Type: GeoEngine.Core.GXNetCVV
Z locations - d4
- Type: SystemDouble
input X - d5
- Type: SystemDouble
input Y - d6
- Type: SystemDouble
input Z
Return Value
Type:
Int32Index of closest point, -1 if no valid locations, or data is masked.
See Also