GM_Utility .CalcAreaElevStats 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)

C#
Copy
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
.
GM_LayerList_t
IN: List of layers to use or NULL for all - aElevStats
-
Type:
GlobalMapper
.
GM_AreaElevStats_t
OUT: Calculated area statistics - aAreaPoints
-
Type:
GlobalMapper
.
GM_Point_t
IN: List of points in area in global coordinate system - aXSpacing
-
Type:
System
.
Double
IN: Sample spacing in the x direction in global units (use 0.0 to get a good default) - aYSpacing
-
Type:
System
.
Double
IN: Sample spacing in the y direction in global units (use 0.0 to get a good default) - aReserved
-
Type:
System
.
Object
IN: Reserved for future use, must be NULL
Return Value
Type: GM_Error_t32A GM Error Code
