Click or drag to resize

GM_UtilityCalcAreaElevStats Method

Calculate the elevation statistics within a given area

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 CalcAreaElevStats(
	GM_LayerList_t aLayerList,
	out GM_AreaElevStats_t aElevStats,
	GM_Point_t[] aAreaPoints,
	double aXSpacing,
	double aYSpacing,
	Object aReserved
)

Parameters

aLayerList
Type: GlobalMapper.TypesGM_LayerList_t
IN: List of layers to use or NULL for all
aElevStats
Type: GlobalMapper.TypesGM_AreaElevStats_t
OUT: Calculated area statistics
aAreaPoints
Type: GlobalMapper.TypesGM_Point_t
IN: List of points in area in global coordinate system
aXSpacing
Type: SystemDouble
IN: Sample spacing in the x direction in global units (use 0.0 to get a good default)
aYSpacing
Type: SystemDouble
IN: Sample spacing in the y direction in global units (use 0.0 to get a good default)
aReserved
Type: SystemObject
IN: Reserved for future use, must be NULL

Return Value

Type: GM_Error_t32
A GM Error Code
See Also