 | 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
Syntaxpublic 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
)
Public Shared Sub RangeXYZ (
db As CDB,
x_ch As Integer,
y_ch As Integer,
z_ch As Integer,
ByRef x_min As Double,
ByRef y_min As Double,
ByRef z_min As Double,
ByRef x_max As Double,
ByRef y_max As Double,
ByRef z_max As Double,
ByRef n_tot As Integer
)
Public Shared Sub RangeXYZ (
db As CDB,
x_ch As Integer,
y_ch As Integer,
z_ch As Integer,
ByRef x_min As Double,
ByRef y_min As Double,
ByRef z_min As Double,
ByRef x_max As Double,
ByRef y_max As Double,
ByRef z_max As Double,
ByRef n_tot As Integer
)
public:
static void RangeXYZ(
CDB^ db,
int x_ch,
int y_ch,
int z_ch,
double% x_min,
double% y_min,
double% z_min,
double% x_max,
double% y_max,
double% z_max,
int% n_tot
)
public:
static void RangeXYZ(
CDB^ db,
int x_ch,
int y_ch,
int z_ch,
double% x_min,
double% y_min,
double% z_min,
double% x_max,
double% y_max,
double% z_max,
int% n_tot
)
static member RangeXYZ :
db : CDB *
x_ch : int *
y_ch : int *
z_ch : int *
x_min : float byref *
y_min : float byref *
z_min : float byref *
x_max : float byref *
y_max : float byref *
z_max : float byref *
n_tot : int byref -> unit
static member RangeXYZ :
db : CDB *
x_ch : int *
y_ch : int *
z_ch : int *
x_min : float byref *
y_min : float byref *
z_min : float byref *
x_max : float byref *
y_max : float byref *
z_max : float byref *
n_tot : int byref -> unit
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