Click or drag to resize
CVOXSampleCDI Method
Sample a voxel at locations/elevations in a CDI database.

Available since Oasis montaj version: 7.2
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
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
)

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
See Also