 | CVVUBinarySearch Method |
Search numeric value in a VV.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void BinarySearch(
CVV vv,
double val,
ref int l_min,
ref int l_max
)
public static void BinarySearch(
CVV vv,
double val,
ref int l_min,
ref int l_max
)
Public Shared Sub BinarySearch (
vv As CVV,
val As Double,
ByRef l_min As Integer,
ByRef l_max As Integer
)
Public Shared Sub BinarySearch (
vv As CVV,
val As Double,
ByRef l_min As Integer,
ByRef l_max As Integer
)
public:
static void BinarySearch(
CVV^ vv,
double val,
int% l_min,
int% l_max
)
public:
static void BinarySearch(
CVV^ vv,
double val,
int% l_min,
int% l_max
)
static member BinarySearch :
vv : CVV *
val : float *
l_min : int byref *
l_max : int byref -> unit
static member BinarySearch :
vv : CVV *
val : float *
l_min : int byref *
l_max : int byref -> unit
Parameters
- vv
- Type: GeoEngine.Core.GXNetCVV
- val
- Type: SystemDouble
Value to search for. - l_min
- Type: SystemInt32
Minimum Location - l_max
- Type: SystemInt32
Maximum Location
Remarks
The VV should be sorted.Search comparison is made on double
comparison of the data.
See Also