Click or drag to resize
CIMUGridVol Method
Calculates the grid volumes above and below a reference base.

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

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
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.GXNetXCGXNETCore
A shared CGXNETCore
img
Type: GeoEngine.Core.GXNetXCIMG
Image of the grid to calculate volume for
rbase
Type: SystemDouble
Reference base
mult
Type: SystemDouble
Multiplier to final volume
vol_a
Type: SystemDouble
Grid Volume above reference base
vol_b
Type: SystemDouble
Grid Volume below reference base
diff
Type: SystemDouble
Differences between volumes
See Also