GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
geodesic.c File Reference
#include <math.h>
#include <grass/gis.h>
#include "pi.h"
Include dependency graph for geodesic.c:

Go to the source code of this file.

Macros

#define SWAP(a, b)   temp=a;a=b;b=temp
 

Functions

int G_begin_geodesic_equation (double lon1, double lat1, double lon2, double lat2)
 
double G_geodesic_lat_from_lon (double lon)
 

Macro Definition Documentation

#define SWAP (   a,
  b 
)    temp=a;a=b;b=temp

Definition at line 31 of file geodesic.c.

Referenced by G_begin_geodesic_equation().

Function Documentation

int G_begin_geodesic_equation ( double  lon1,
double  lat1,
double  lon2,
double  lat2 
)

Definition at line 39 of file geodesic.c.

References Radians, and SWAP.

double G_geodesic_lat_from_lon ( double  lon)

Definition at line 75 of file geodesic.c.

References Degrees, and Radians.