Click or drag to resize

CDUDirectGridItemCountsToVoxel Method

Create a voxel using direct gridding containing the number of data points in each cell.

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

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

db
Type: GeoEngine.Core.GXNetCDB
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?
Remarks
The Z and Data channels may be array channels. If they are, the array sizes must match.
See Also