Click or drag to resize

CPGUIDWGriddingDB3D Method

IDWGriddingDB3D_PGU Inverse-distance weighting gridding method, DB version, 3D.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void IDWGriddingDB3D(
	CPG pg,
	CDB db,
	int x,
	int y,
	int z,
	int data,
	CREG reg
)

public static void IDWGriddingDB3D(
	CPG pg,
	CDB db,
	int x,
	int y,
	int z,
	int data,
	CREG reg
)

Parameters

pg
Type: GeoEngine.Core.GXNetCPG
Input 3D PG
db
Type: GeoEngine.Core.GXNetCDB
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.GXNetCREG
Parameters (see above)
Remarks
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>
See Also