 | CPGUIDWGriddingDB Method |
IDWGriddingDB_PGU Inverse-distance weighting gridding method, DB version.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static void IDWGriddingDB(
CPG pg,
CDB db,
int x,
int y,
int z,
CREG reg
)
public static void IDWGriddingDB(
CPG pg,
CDB db,
int x,
int y,
int z,
CREG reg
)
Public Shared Sub IDWGriddingDB (
pg As CPG,
db As CDB,
x As Integer,
y As Integer,
z As Integer,
reg As CREG
)
Public Shared Sub IDWGriddingDB (
pg As CPG,
db As CDB,
x As Integer,
y As Integer,
z As Integer,
reg As CREG
)
public:
static void IDWGriddingDB(
CPG^ pg,
CDB^ db,
int x,
int y,
int z,
CREG^ reg
)
public:
static void IDWGriddingDB(
CPG^ pg,
CDB^ db,
int x,
int y,
int z,
CREG^ reg
)
static member IDWGriddingDB :
pg : CPG *
db : CDB *
x : int *
y : int *
z : int *
reg : CREG -> unit
static member IDWGriddingDB :
pg : CPG *
db : CDB *
x : int *
y : int *
z : int *
reg : CREG -> unit
Parameters
- pg
- Type: GeoEngine.Core.GXNetCPG
Input grid - db
- Type: GeoEngine.Core.GXNetCDB
Database - x
- Type: SystemInt32
X Channel [READONLY] - y
- Type: SystemInt32
Y Channel [READONLY] - z
- Type: SystemInt32
Data Channel [READONLY] - reg
- Type: GeoEngine.Core.GXNetCREG
Parameters (see above)
Remarks
Grid 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.
REG Parameters:
X0, Y0, DX, DY: Grid origin, and cell sizes (required)
WT_POWER (default=2), WT_SLOPE (default=1) Weighting function parameters
SEARCH_RADIUS: Distance weighting limit (default = 4 * SQRT(DX*DY))
BLANKING_DISTANCE: Dummy values farther from data than this distance. (default = 4 * SQRT(DX*DY))
LOG: Apply log transform to input data before gridding (0:No (default), 1:Yes)?
LOG_BASE: One of <define>VV_LOG_BASE_10</define> (default) or <define>VV_LOG_BASE_E</define>
LOG_NEGATIVE: One of <define>VV_LOG_NEGATIVE_NO</define> (default) or <define>VV_LOG_NEGATIVE_YES</define>
See Also