| CMULTIGRID3DUTILGridIDWFromGDB Method |
Create a grid3d using IDW gridding.
Available since Oasis montaj version: 9.5
License: Available to anyone with an Oasis Montaj license.
Namespace: GeoEngine.Core.GXNetXAssembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
The Z and Data channels may be array channels. If they are, the array sizes must match.
3D cells take on the averaged values within a search radius, weighted inversely by distance.
Weighting can be controlled using the power and slope properties;
weighting = 1 / (distance^wtpower + 1/slope) where distance is in
units of grid cells (X dimenstion). Default is 0.0,
If the blanking distance is set, all cells whose center point is not within the blanking distance of
at least one data point are set to dummy.
Syntax public static void GridIDWFromGDB(
CGXNETCore gxNetShared,
string output_grid3d_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,
CDB db,
int x_channel,
int y_channel,
int z_channel,
int data_channel,
double weight_power,
double weight_slope,
double search_radius,
double blanking_distance,
int log,
double log_base,
int log_negative
)
Public Shared Sub GridIDWFromGDB (
gxNetShared As CGXNETCore,
output_grid3d_filename As String,
origin_x As Double,
origin_y As Double,
origin_z As Double,
cell_count_x As Integer,
cell_count_y As Integer,
cell_count_z As Integer,
cell_size_x As Double,
cell_size_y As Double,
cell_size_z As Double,
db As CDB,
x_channel As Integer,
y_channel As Integer,
z_channel As Integer,
data_channel As Integer,
weight_power As Double,
weight_slope As Double,
search_radius As Double,
blanking_distance As Double,
log As Integer,
log_base As Double,
log_negative As Integer
)
public:
static void GridIDWFromGDB(
CGXNETCore^ gxNetShared,
String^ output_grid3d_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,
CDB^ db,
int x_channel,
int y_channel,
int z_channel,
int data_channel,
double weight_power,
double weight_slope,
double search_radius,
double blanking_distance,
int log,
double log_base,
int log_negative
)
static member GridIDWFromGDB :
gxNetShared : CGXNETCore *
output_grid3d_filename : string *
origin_x : float *
origin_y : float *
origin_z : float *
cell_count_x : int *
cell_count_y : int *
cell_count_z : int *
cell_size_x : float *
cell_size_y : float *
cell_size_z : float *
db : CDB *
x_channel : int *
y_channel : int *
z_channel : int *
data_channel : int *
weight_power : float *
weight_slope : float *
search_radius : float *
blanking_distance : float *
log : int *
log_base : float *
log_negative : int -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - output_grid3d_filename
- Type: SystemString
Output grid3d 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 - 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>] - weight_power
- Type: SystemDouble
Weight Power (default 2) - weight_slope
- Type: SystemDouble
Weight Slope (default 1) - search_radius
- Type: SystemDouble
Distance weighting limit (default = 4 * CUBE_ROOT(DX*DY*DZ)) - blanking_distance
- Type: SystemDouble
Dummy values farther from data than this distance. (default = 4 * CUBE_ROOT(DX*DY*DZ)) - log
- Type: SystemInt32
Apply log transform to input data before gridding (0:No (default), 1:Yes) - log_base
- Type: SystemDouble
One of <define>VV_LOG_BASE_10</define> (default) or :const:`VV_LOG_BASE_E - log_negative
- Type: SystemInt32
One of <define>VV_LOG_NEGATIVE_NO</define> (default) or <define>VV_LOG_NEGATIVE_YES</define>
See Also