Click or drag to resize
CDUDirectGridItemCountsToVoxel Method
Create a voxel using direct gridding containing the number of data points in each cell.

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

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The Z and Data channels may be array channels. If they are, the array sizes must match.
Syntax
public static void DirectGridItemCountsToVoxel(
	CGXNETCore gxNetShared,
	CDB db,
	int x_channel,
	int y_channel,
	int z_channel,
	int data_channel,
	string output_voxel_filename,
	double origin_x,
	double origin_y,
	double origin_z,
	int cell_count_x,
	int cell_count_y,
	int cell_count_z,
	double cell_size_x,
	double cell_size_y,
	double cell_size_z,
	int pb_replace_zeroes_with_dummy
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database
x_channel
Type: SystemInt32
X channel [<define>DB_LOCK_READONLY</define>]
y_channel
Type: SystemInt32
Y channel [<define>DB_LOCK_READONLY</define>]
z_channel
Type: SystemInt32
Z channel [<define>DB_LOCK_READONLY</define>]
data_channel
Type: SystemInt32
Data channel [<define>DB_LOCK_READONLY</define>]
output_voxel_filename
Type: SystemString
Output voxel filename
origin_x
Type: SystemDouble
Voxel origin X
origin_y
Type: SystemDouble
Voxel origin Y
origin_z
Type: SystemDouble
Voxel origin Z
cell_count_x
Type: SystemInt32
Voxel cell count X
cell_count_y
Type: SystemInt32
Voxel cell count Y
cell_count_z
Type: SystemInt32
Voxel cell count Z
cell_size_x
Type: SystemDouble
Voxel cell size X
cell_size_y
Type: SystemDouble
Voxel cell size Y
cell_size_z
Type: SystemDouble
Voxel cell size Z
pb_replace_zeroes_with_dummy
Type: SystemInt32
Replace zero values in output with DUMMY?
See Also