Click or drag to resize

CVViFindDum Method

Finds the first dummy or non-dummy value in a VV

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int iFindDum(
	int start,
	int end,
	int yn,
	int order
)

public int iFindDum(
	int start,
	int end,
	int yn,
	int order
)

Parameters

start
Type: SystemInt32
Lowest element in VV element to search
end
Type: SystemInt32
Highest element in VV to search
yn
Type: SystemInt32
0 = find first dummy / 1 = find first non-dummy
order
Type: SystemInt32
0 = use increasing order / 1 = use decreasing order

Return Value

Type: Int32
The index of the first dummy or non-dummy value. -1 if not found, 0 if the length of the VV is 0.
Remarks
If a decreasing order search is performed, it will start at the highest element specified. (Conversely, an increasing order starts at the lowest element specified.)
See Also