globalmapper.CalcVolumeOfArea ============================= .. currentmodule:: globalmapper .. py:function:: CalcVolumeOfArea(GM_LayerHandle_t32 aLayer, GM_AreaVolumeParams_t aVolumeParms) -> GM_Error_t32, float, float Calculates the cut-and-fill volumes with the given area relative to the cut height. :param GM_LayerHandle_t32 aLayer: Layer to get elevations from or gm.NULL for topmost layer at each point :param GM_AreaVolumeParams_t aVolumeParms: Parameters for area volume calculation :returns: Error Code :rtype: GM_Error_t32 :return: Cut volume in cubic meters :rtype: float :return: Fill volume in cubic meters :rtype: float