 | CVOXSampleCDI Method |
Sample a voxel at locations/elevations in a CDI database.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void SampleCDI(
CDB db,
int line,
int x_ch,
int y_ch,
int elev_ch,
int negative_depths_down,
int topo_ch,
int mode,
string out_ch
)
public void SampleCDI(
CDB db,
int line,
int x_ch,
int y_ch,
int elev_ch,
int negative_depths_down,
int topo_ch,
int mode,
string out_ch
)
Public Sub SampleCDI (
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
elev_ch As Integer,
negative_depths_down As Integer,
topo_ch As Integer,
mode As Integer,
out_ch As String
)
Public Sub SampleCDI (
db As CDB,
line As Integer,
x_ch As Integer,
y_ch As Integer,
elev_ch As Integer,
negative_depths_down As Integer,
topo_ch As Integer,
mode As Integer,
out_ch As String
)
public:
void SampleCDI(
CDB^ db,
int line,
int x_ch,
int y_ch,
int elev_ch,
int negative_depths_down,
int topo_ch,
int mode,
String^ out_ch
)
public:
void SampleCDI(
CDB^ db,
int line,
int x_ch,
int y_ch,
int elev_ch,
int negative_depths_down,
int topo_ch,
int mode,
String^ out_ch
)
member SampleCDI :
db : CDB *
line : int *
x_ch : int *
y_ch : int *
elev_ch : int *
negative_depths_down : int *
topo_ch : int *
mode : int *
out_ch : string -> unit
member SampleCDI :
db : CDB *
line : int *
x_ch : int *
y_ch : int *
elev_ch : int *
negative_depths_down : int *
topo_ch : int *
mode : int *
out_ch : string -> unit
Parameters
- db
- Type: GeoEngine.Core.GXNetXCDB
CDI Database handle - line
- Type: SystemInt32
Line handle - x_ch
- Type: SystemInt32
X channel handle - y_ch
- Type: SystemInt32
Y channel handle - elev_ch
- Type: SystemInt32
Depth array channel handle - negative_depths_down
- Type: SystemInt32
Depths sign: 0 - positive down, 1 - negative down - topo_ch
- Type: SystemInt32
Elevation channel handle (can be <define>NULLSYMB</define>) - mode
- Type: SystemInt32
Interpolation mode: 0 - linear, 1 - nearest - out_ch
- Type: SystemString
Output channel name
Remarks
A "CDI" database does not need to be conductivity/depth.
It normally contains an array channel of depth values for
each (X, Y) location, with corresponding data array channels of
values taken at those (X, Y, Z) locations.
If the optional elevation channel is used, its value is used as an
offset to the depth channel values. Depths are positive down by
default; use the "Negative depths down" parameter if the depths
become more negative as you go deeper.
See Also