![](../icons/Help.png) | 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.GXNetXAssembly: 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.
Syntaxpublic static void GridVol(
CGXNETCore gxNetShared,
CIMG img,
double rbase,
double mult,
ref double vol_a,
ref double vol_b,
ref double diff
)
Public Shared Sub GridVol (
gxNetShared As CGXNETCore,
img As CIMG,
rbase As Double,
mult As Double,
ByRef vol_a As Double,
ByRef vol_b As Double,
ByRef diff As Double
)
public:
static void GridVol(
CGXNETCore^ gxNetShared,
CIMG^ img,
double rbase,
double mult,
double% vol_a,
double% vol_b,
double% diff
)
static member GridVol :
gxNetShared : CGXNETCore *
img : CIMG *
rbase : float *
mult : float *
vol_a : float byref *
vol_b : float byref *
diff : float byref -> unit
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