globalmapper.CalcEnclosedArea ============================= .. currentmodule:: globalmapper .. py:function:: CalcEnclosedArea (GM_Point_t_array aPtList, int aNumPoints, GM_Projection_t aProj) -> GM_Error_t32, float Calculates the enclosed area of a region in square meters. The coordinates in *aPtList* are in the projection defined by *aProj*. If None is passed for *aProj* then the current global projection as returned by :doc:`GetProjection` is assumed. :param GM_Point_t_array aPtList: list of points defining area :param int aNumPoints: the size of *aPtList* :param GM_Projection_t aProj: projection of points in list (use None for current projection returned by GetProjection) :returns: Error Code :rtype: GM_Error_t32 :return: Enclosed area in square meters :rtype: float