 | CVVUiCloseXYZ Method |
Find the closest point to an input point (XYZ).
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iCloseXYZ(
CVV vv_x,
CVV vv_y,
CVV vv_z,
double x,
double y,
double z
)
public static int iCloseXYZ(
CVV vv_x,
CVV vv_y,
CVV vv_z,
double x,
double y,
double z
)
Public Shared Function iCloseXYZ (
vv_x As CVV,
vv_y As CVV,
vv_z As CVV,
x As Double,
y As Double,
z As Double
) As Integer
Public Shared Function iCloseXYZ (
vv_x As CVV,
vv_y As CVV,
vv_z As CVV,
x As Double,
y As Double,
z As Double
) As Integer
public:
static int iCloseXYZ(
CVV^ vv_x,
CVV^ vv_y,
CVV^ vv_z,
double x,
double y,
double z
)
public:
static int iCloseXYZ(
CVV^ vv_x,
CVV^ vv_y,
CVV^ vv_z,
double x,
double y,
double z
)
static member iCloseXYZ :
vv_x : CVV *
vv_y : CVV *
vv_z : CVV *
x : float *
y : float *
z : float -> int
static member iCloseXYZ :
vv_x : CVV *
vv_y : CVV *
vv_z : CVV *
x : float *
y : float *
z : float -> int
Parameters
- vv_x
- Type: GeoEngine.Core.GXNetCVV
X locations - vv_y
- Type: GeoEngine.Core.GXNetCVV
Y locations - vv_z
- Type: GeoEngine.Core.GXNetCVV
Z locations - x
- Type: SystemDouble
Input X - y
- Type: SystemDouble
Input Y - z
- Type: SystemDouble
Input Z
Return Value
Type:
Int32Index 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