Click or drag to resize

CDURangeXYZ Method

Find the range of X, Y and Z in selected lines.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void RangeXYZ(
	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
)

public static void RangeXYZ(
	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

db
Type: GeoEngine.Core.GXNetCDB
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)
Remarks
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.
See Also