Click or drag to resize

GM_UtilityCalcVolumeAlongLine Method

Calculates the cut-and-fill volumes along a given line (not implemented on WinCE)

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.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: GlobalMapper.TypesGM_Layer_t
IN: Layer to get elevations from or NULL for topmost layer at each point
aVolumeParams
Type: GlobalMapper.TypesGM_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_t32
A GM Error Code
See Also