Click or drag to resize

CVOXGenerateFromGrid Method

Create a single-layer VOX object from a grid

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static CVOX GenerateFromGrid(
	CGXNETCore gxNetShared,
	string grid_name,
	string vox_name,
	double constantValue
)

public static CVOX GenerateFromGrid(
	CGXNETCore gxNetShared,
	string grid_name,
	string vox_name,
	double constantValue
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
grid_name
Type: SystemString
Input Grid File Name
vox_name
Type: SystemString
Output Voxel File Name
constantValue
Type: SystemDouble
Constant value for output voxel if NOT DUMMY

Return Value

Type: CVOX
VOX handle, terminates if creation fails
Remarks
Data type, cell sizes and projection are defined from the input grid; values set to the input grid values, or to the input "constant" value if it is not dummy.
See Also