GM_UtilityCalcEnclosedArea 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)

Syntax
C#
public static GM_Error_t32 CalcEnclosedArea(
	GM_Point_t[] aPtList,
	GM_Projection_t aProj,
	out double aArea
)

Parameters

aPtList
Type: GlobalMapperGM_Point_t
IN: list of points defining area
aProj
Type: GlobalMapperGM_Projection_t
IN: projection of points in list (use NULL for current projection returned by GM_GetProjection)
aArea
Type: SystemDouble
OUT: enclosed area in square meters

Return Value

Type: GM_Error_t32
A GM Error Code
See Also