 | 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
Syntaxpublic 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
)
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 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
)
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
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.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