 | 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
Syntaxpublic 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
)
Public Shared Function GenerateFromGrid (
gxNetShared As CGXNETCore,
grid_name As String,
vox_name As String,
constantValue As Double
) As CVOX
Public Shared Function GenerateFromGrid (
gxNetShared As CGXNETCore,
grid_name As String,
vox_name As String,
constantValue As Double
) As CVOX
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
)
static member GenerateFromGrid :
gxNetShared : CGXNETCore *
grid_name : string *
vox_name : string *
constantValue : float -> CVOX
static member GenerateFromGrid :
gxNetShared : CGXNETCore *
grid_name : string *
vox_name : string *
constantValue : float -> CVOX
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:
CVOXVOX 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