 | CVVU.iCloseXYZM Method |
Find the closest point to an input point, with mask (XYZ).
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iCloseXYZM(
CVV vv_x,
CVV vv_y,
CVV vv_z,
CVV vv_m,
double x,
double y,
double z
)
public static int iCloseXYZM(
CVV vv_x,
CVV vv_y,
CVV vv_z,
CVV vv_m,
double x,
double y,
double z
)
Public Shared Function iCloseXYZM (
vv_x As CVV,
vv_y As CVV,
vv_z As CVV,
vv_m As CVV,
x As Double,
y As Double,
z As Double
) As Integer
Public Shared Function iCloseXYZM (
vv_x As CVV,
vv_y As CVV,
vv_z As CVV,
vv_m As CVV,
x As Double,
y As Double,
z As Double
) As Integer
public:
static int iCloseXYZM(
CVV^ vv_x,
CVV^ vv_y,
CVV^ vv_z,
CVV^ vv_m,
double x,
double y,
double z
)
public:
static int iCloseXYZM(
CVV^ vv_x,
CVV^ vv_y,
CVV^ vv_z,
CVV^ vv_m,
double x,
double y,
double z
)
static member iCloseXYZM :
vv_x : CVV *
vv_y : CVV *
vv_z : CVV *
vv_m : CVV *
x : float *
y : float *
z : float -> int
static member iCloseXYZM :
vv_x : CVV *
vv_y : CVV *
vv_z : CVV *
vv_m : CVV *
x : float *
y : float *
z : float -> int
Parameters
- vv_x
- Type: GeoEngine.Core.GXNet.CVV
X locations - vv_y
- Type: GeoEngine.Core.GXNet.CVV
Y locations - vv_z
- Type: GeoEngine.Core.GXNet.CVV
Z locations - vv_m
- Type: GeoEngine.Core.GXNet.CVV
Mask values - x
- Type: System.Double
Input X - y
- Type: System.Double
Input Y - z
- Type: System.Double
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.
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.
See Also