globalmapper.CalcVolumeOfArea

globalmapper.CalcVolumeOfArea(GM_LayerHandle_t32 aLayer, GM_AreaVolumeParams_t aVolumeParms) GM_Error_t32, float, float[source]

Calculates the cut-and-fill volumes with the given area relative to the cut height.

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer to get elevations from or gm.NULL for topmost layer at each point

  • aVolumeParms (GM_AreaVolumeParams_t) – Parameters for area volume calculation

Returns:

Error Code

Return type:

GM_Error_t32

Returns:

Cut volume in cubic meters

Return type:

float

Returns:

Fill volume in cubic meters

Return type:

float