Click or drag to resize

CIMU.GridVol Method

Calculates the grid volumes above and below a reference base.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void GridVol(
	CGXNETCore gxNetShared,
	CIMG img,
	double rbase,
	double mult,
	ref double vol_a,
	ref double vol_b,
	ref double diff
)

public static void GridVol(
	CGXNETCore gxNetShared,
	CIMG img,
	double rbase,
	double mult,
	ref double vol_a,
	ref double vol_b,
	ref double diff
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetX.CGXNETCore
A shared CGXNETCore
img
Type: GeoEngine.Core.GXNetX.CIMG
Image of the grid to calculate volume for
rbase
Type: System.Double
Reference base
mult
Type: System.Double
Multiplier to final volume
vol_a
Type: System.Double
Grid Volume above reference base
vol_b
Type: System.Double
Grid Volume below reference base
diff
Type: System.Double
Differences between volumes
Remarks
Volumes are calculated above and below a reference base level, and reported as positive integers. A multiplier is applied to the final volume (to correct for units). The IMG parameters MUST be of type <define>GS_FLOAT</define>! If not, the method will terminate.
See Also