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
)
Public Shared Function CalcEnclosedArea (
aPtList As GM_Point_t(),
aProj As GM_Projection_t,
<OutAttribute> ByRef aArea As Double
) As GM_Error_t32
public:
static GM_Error_t32 CalcEnclosedArea(
array<GM_Point_t>^ aPtList,
GM_Projection_t^ aProj,
[OutAttribute] 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_t32A GM Error Code
See Also