| CVVUiCloseXY Method |
Find the closest point to an input point (XY).
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 and Y location VVs, and a location.
Returns the index of the point in the VV closest to the
input point.
Syntax public static int iCloseXY(
CVV oVV1,
CVV oVV2,
double d3,
double d4
)
Public Shared Function iCloseXY (
oVV1 As CVV,
oVV2 As CVV,
d3 As Double,
d4 As Double
) As Integer
public:
static int iCloseXY(
CVV^ oVV1,
CVV^ oVV2,
double d3,
double d4
)
static member iCloseXY :
oVV1 : CVV *
oVV2 : CVV *
d3 : float *
d4 : float -> int
Parameters
- oVV1
- Type: GeoEngine.Core.GXNetCVV
X locations - oVV2
- Type: GeoEngine.Core.GXNetCVV
Y locations - d3
- Type: SystemDouble
input X - d4
- Type: SystemDouble
input Y
Return Value
Type:
Int32Index of closest point, -1 if no valid locations, or data is masked.
See Also