Click or drag to resize

GM_UtilityCalcEnclosedArea Method

Calculates the enclosed area of a region in square meters.

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 CalcEnclosedArea(
	GM_Point_t[] aPtList,
	GM_Projection_t aProj,
	out double aArea
)

Parameters

aPtList
Type: GlobalMapper.TypesGM_Point_t
IN: list of points defining area
aProj
Type: GlobalMapper.TypesGM_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