Click or drag to resize
CDURangeXYZData Method
Find the range of X, Y, Z and Data values in selected lines.

Available since Oasis montaj version: 8.1
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The Z and Data channels may be array channels, but both must have the same number of columns. Only values where all channels are non-dummy (or, for VA channels, where the Z or Data value are defined) are included in the calculation. If no non-dummy values are found, Dummy values are returned. This function is optimized for cases where Z and Data are array channels with many columns (e.g. 32 or more columns).
Syntax
public static void RangeXYZData(
	CGXNETCore gxNetShared,
	CDB db,
	int x_ch,
	int y_ch,
	int z_ch,
	int d_ch,
	ref double x_min,
	ref double y_min,
	ref double z_min,
	ref double d_min,
	ref double x_max,
	ref double y_max,
	ref double z_max,
	ref double d_max,
	ref int n_tot
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
x_ch
Type: SystemInt32
X Channel [<define>DB_LOCK_READONLY</define>]
y_ch
Type: SystemInt32
Y Channel [<define>DB_LOCK_READONLY</define>]
z_ch
Type: SystemInt32
Z Channel [<define>DB_LOCK_READONLY</define>]
d_ch
Type: SystemInt32
Data Channel [<define>DB_LOCK_READONLY</define>]
x_min
Type: SystemDouble
Minimum X (returned)
y_min
Type: SystemDouble
Minimum Y (returned)
z_min
Type: SystemDouble
Minimum Z (returned)
d_min
Type: SystemDouble
Minimum Data value (returned)
x_max
Type: SystemDouble
Maximum X (returned)
y_max
Type: SystemDouble
Maximum Y (returned)
z_max
Type: SystemDouble
Maximum Z (returned)
d_max
Type: SystemDouble
Maximum Data value (returned)
n_tot
Type: SystemInt32
Number of data values (returned)
See Also