GM_UtilityCalcVolumeAlongLine Method |
Calculates the cut-and-fill volumes along a given line (not implemented on WinCE)
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Error_t32 CalcVolumeAlongLine(
GM_Layer_t aLayer,
GM_LineVolumeParams_t aVolumeParams,
out double aCutVolume,
out double aFillVolume
)
Parameters
- aLayer
- Type: GlobalMapperGM_Layer_t
IN: Layer to get elevations from or NULL for topmost layer at each point - aVolumeParams
- Type: GlobalMapperGM_LineVolumeParams_t
IN: Parameters for line volume calculation - aCutVolume
- Type: SystemDouble
OUT: Cut volume in cubic meters - aFillVolume
- Type: SystemDouble
OUT: Fill volume in cubic meters
Return Value
Type:
GM_Error_t32A GM Error Code
See Also