Click or drag to resize

CVVUBinarySearch Method

Search numeric value in a VV.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void BinarySearch(
	CGXNETCore gxNetShared,
	CVV vv,
	double val,
	ref int l_min,
	ref int l_max
)

public static void BinarySearch(
	CGXNETCore gxNetShared,
	CVV vv,
	double val,
	ref int l_min,
	ref int l_max
)

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
Remarks
The VV should be sorted.Search comparison is made on double comparison of the data.
See Also