GM_UtilityCalcAreaElevStats Method
Calculate the elevation statistics within a given area

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
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: GlobalMapperGM_LayerList_t
IN: List of layers to use or NULL for all
aElevStats
Type: GlobalMapperGM_AreaElevStats_t
OUT: Calculated area statistics
aAreaPoints
Type: GlobalMapperGM_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