![](../icons/Help.png) | CVVUBinarySearch Method |
Search numeric value in a VV.
Available since Oasis montaj version: 7.1
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The VV should be sorted.Search comparison is made on double
comparison of the data.
Syntaxpublic static void BinarySearch(
CGXNETCore gxNetShared,
CVV vv,
double val,
ref int l_min,
ref int l_max
)
Public Shared Sub BinarySearch (
gxNetShared As CGXNETCore,
vv As CVV,
val As Double,
ByRef l_min As Integer,
ByRef l_max As Integer
)
public:
static void BinarySearch(
CGXNETCore^ gxNetShared,
CVV^ vv,
double val,
int% l_min,
int% l_max
)
static member BinarySearch :
gxNetShared : CGXNETCore *
vv : CVV *
val : float *
l_min : int byref *
l_max : int byref -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - vv
- Type: GeoEngine.Core.GXNetXCVV
- val
- Type: SystemDouble
Value to search for. - l_min
- Type: SystemInt32
Minimum Location - l_max
- Type: SystemInt32
Maximum Location
See Also