Click or drag to resize

GM_CalcVolumeOfArea

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

Syntax
GM_Error_t32 GM_CalcVolumeOfArea
(
GM_LayerHandle_t32              aLayer,         // IN: Layer to get elevations from or NULL for topmost layer at each point
const GM_AreaVolumeParams_t*    aVolumeParms,   // IN: Parameters for area volume calculation
double*                         aCutVolume,     // OUT: Cut volume in cubic meters
double*                         aFillVolume     // OUT: Fill volume in cubic meters
);