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

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

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The X, Y and Z channels should be normal (not array) channels. Only locations where all values are non-dummy are included in the calculation. If no non-dummy values are found, Dummy values are returned.
Syntax
public static void RangeXYZ(
	CGXNETCore gxNetShared,
	CDB db,
	int x_ch,
	int y_ch,
	int z_ch,
	ref double x_min,
	ref double y_min,
	ref double z_min,
	ref double x_max,
	ref double y_max,
	ref double z_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>]
x_min
Type: SystemDouble
Minimum X (returned)
y_min
Type: SystemDouble
Minimum Y (returned)
z_min
Type: SystemDouble
Minimum Z (returned)
x_max
Type: SystemDouble
Maximum X (returned)
y_max
Type: SystemDouble
Maximum Y (returned)
z_max
Type: SystemDouble
Maximum Z (returned)
n_tot
Type: SystemInt32
Number of data values (returned)
See Also