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
)
Public Shared Function CalcVolumeAlongLine (
aLayer As GM_Layer_t,
aVolumeParams As GM_LineVolumeParams_t,
<OutAttribute> ByRef aCutVolume As Double,
<OutAttribute> ByRef aFillVolume As Double
) As GM_Error_t32
public:
static GM_Error_t32 CalcVolumeAlongLine(
GM_Layer_t^ aLayer,
GM_LineVolumeParams_t^ aVolumeParams,
[OutAttribute] double% aCutVolume,
[OutAttribute] 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_t32A GM Error Code
See Also