globalmapper.CalcVolumeAlongLine ================================ .. currentmodule:: globalmapper .. py:function:: CalcVolumeAlongLine (GM_LayerHandle_t32 aLayer, GM_LineVolumeParams_t aVolumeParms) -> GM_Error_t32, float, float Calculates the cut-and-fill volumes along the given line relative to the cut heights for each vertex. The heights used between points will be interpolated between the heights at the start and end of each segment. :param GM_LayerHandle_t32 aLayer: Layer to get elevations from or gm.NULL for topmost layer at each point :param GM_LineVolumeParams_t aVolumeParms: Parameters for line 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