Click or drag to resize
CPGUIDWGriddingDB3D Method
IDWGriddingDB3D_PGU Inverse-distance weighting gridding method, DB version, 3D.

Available since Oasis montaj version: 8.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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. REG Parameters: X0, Y0, Z0, DX, DY, DZ: Grid origin, and cell sizes (required) WT_POWER (default=2), WT_SLOPE (default=1) Weighting function parameters SEARCH_RADIUS: Distance weighting limit (default = 4 * CUBE_ROOT(DX*DY*DZ)) BLANKING_DISTANCE: Dummy values farther from data than this distance. (default = 4 * CUBE_ROOT(DX*DY*DZ)) 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>
Syntax
public static void IDWGriddingDB3D(
	CGXNETCore gxNetShared,
	CPG pg,
	CDB db,
	int x,
	int y,
	int z,
	int data,
	CREG reg
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg
Type: GeoEngine.Core.GXNetXCPG
Input 3D PG
db
Type: GeoEngine.Core.GXNetXCDB
Database
x
Type: SystemInt32
X Channel [READONLY]
y
Type: SystemInt32
Y Channel [READONLY]
z
Type: SystemInt32
Z Channel [READONLY]
data
Type: SystemInt32
Data Channel [READONLY]
reg
Type: GeoEngine.Core.GXNetXCREG
Parameters (see above)
See Also