GM_Utility .CalcEnclosedArea Method |
Calculates the enclosed area of a region in square meters.
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

C#
Copy
public static GM_Error_t32 CalcEnclosedArea(
GM_Point_t[] aPtList,
GM_Projection_t aProj,
out double aArea
)
Parameters
- aPtList
-
Type:
GlobalMapper
.
GM_Point_t
IN: list of points defining area - aProj
-
Type:
GlobalMapper
.
GM_Projection_t
IN: projection of points in list (use NULL for current projection returned by GM_GetProjection) - aArea
-
Type:
System
.
Double
OUT: enclosed area in square meters
Return Value
Type: GM_Error_t32A GM Error Code
