Click or drag to resize

CPGUIDWGriddingDB Method

IDWGriddingDB_PGU Inverse-distance weighting gridding method, DB version.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void IDWGriddingDB(
	CGXNETCore gxNetShared,
	CPG pg,
	CDB db,
	int x,
	int y,
	int z,
	CREG reg
)

public static void IDWGriddingDB(
	CGXNETCore gxNetShared,
	CPG pg,
	CDB db,
	int x,
	int y,
	int z,
	CREG reg
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
pg
Type: GeoEngine.Core.GXNetXCPG
Input grid
db
Type: GeoEngine.Core.GXNetXCDB
Database
x
Type: SystemInt32
X Channel [READONLY]
y
Type: SystemInt32
Y Channel [READONLY]
z
Type: SystemInt32
Data Channel [READONLY]
reg
Type: GeoEngine.Core.GXNetXCREG
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