CalcVolumeAlongLine¶
- globalmapper.CalcVolumeAlongLine(GM_LayerHandle_t32 aLayer, GM_LineVolumeParams_t aVolumeParms) GM_Error_t32, float, float [source]¶
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.
- Parameters:
aLayer (GM_LayerHandle_t32) – Layer to get elevations from or gm.NULL for topmost layer at each point
aVolumeParms (GM_LineVolumeParams_t) – Parameters for line 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