Click or drag to resize

GM_CalcEnclosedArea

Calculates the enclosed area of a list of points.

Syntax
GM_Error_t32 __stdcall GM_CalcEnclosedArea

(

const GM_Point_t*       aPtList,    // IN: list of points defining area

uint32                  aNumPoints, // IN: number of points in list

const GM_Projection_t*  aProj,      // IN: projection of points in list (use NULL for current projection returned by GM_GetProjection)

double*                 aArea       // OUT: enclosed area in square meters

);
Remarks

The coordinates in aPtList are in the projection defined by aProj. If NULL is passed for aProj then the current globalprojection as returned by GM_GetProjection is assumed.