C library for Geodesics  2.1
geod_polygon Struct Reference

#include <src/geodesic.h>

Data Fields

double lat
 
double lon
 
unsigned num
 

Detailed Description

The struct for accumulating information about a geodesic polygon. This is used for computing the perimeter and area of a polygon. This must be initialized by geod_polygon_init() before use.

Definition at line 124 of file geodesic.h.

Field Documentation

◆ lat

double geod_polygon::lat

the current latitude

Definition at line 125 of file geodesic.h.

Referenced by main().

◆ lon

double geod_polygon::lon

the current longitude

Definition at line 126 of file geodesic.h.

Referenced by main().

◆ num

unsigned geod_polygon::num

the number of points so far

Definition at line 135 of file geodesic.h.


The documentation for this struct was generated from the following file: