A test program for geod_polygon_compute() More...
Go to the source code of this file.
Functions | |
int | main () |
A test program for geod_polygon_compute()
Definition in file planimeter.c.
int main | ( | void | ) |
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).
Definition at line 23 of file planimeter.c.