1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* @file planimeter.c
* @brief A test program for geod_polygon_compute()
**********************************************************************/
/* Squelch warnings about scanf */
/**
* A simple program to compute the area of a geodesic polygon.
*
* This program reads in lines with lat, lon for each vertex
* of a polygon. At the end of input, the program prints the number of
* vertices, the perimeter of the polygon and its area (for the WGS84
* ellipsoid).
**********************************************************************/
int