Click or drag to resize

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
Syntax
public 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
)

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