Functions
planimeter.c File Reference

A test program for geod_polygon_compute() More...

#include <stdio.h>
#include "geodesic.h"
Include dependency graph for planimeter.c:

Go to the source code of this file.

Functions

int main ()
 

Detailed Description

A test program for geod_polygon_compute()

Definition in file planimeter.c.

Function Documentation

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.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:32