Click or drag to resize

GM_UtilityCalcVolumeOfArea Method

Calculates the cut-and-fill volumes within a given area (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 CalcVolumeOfArea(
	GM_Layer_t aLayer,
	GM_AreaVolumeParams_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_AreaVolumeParams_t
IN: Parameters for area 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