geodesic.c File Reference

#include <grass/gis.h>
#include "pi.h"

Include dependency graph for geodesic.c:

Go to the source code of this file.

Defines

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

Functions

double sin ()
double cos ()
double tan ()
double atan ()
int G_begin_geodesic_equation (double lon1, double lat1, double lon2, double lat2)
double G_geodesic_lat_from_lon (double lon)


Define 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

double atan (  ) 

Referenced by G_geodesic_lat_from_lon(), G_rhumbline_lat_from_lon(), G_set_geodesic_distance_lat1(), and G_set_geodesic_distance_lat2().

double cos (  ) 

Referenced by G_begin_geodesic_equation(), G_geodesic_lat_from_lon(), and G_set_geodesic_distance_lat2().

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

Definition at line 35 of file geodesic.c.

References cos(), Radians, sin(), swap, and tan().

double G_geodesic_lat_from_lon ( double  lon  ) 

Definition at line 71 of file geodesic.c.

References atan(), cos(), Degrees, Radians, and sin().

double sin (  ) 

Referenced by G_begin_geodesic_equation(), G_darea0_on_ellipsoid(), G_darea0_on_sphere(), G_geodesic_distance_lon_to_lon(), G_geodesic_lat_from_lon(), G_meridional_radius_of_curvature(), G_radius_of_conformal_tangent_sphere(), G_set_geodesic_distance_lat2(), and G_transverse_radius_of_curvature().

double tan (  ) 

Referenced by G_begin_geodesic_equation(), G_begin_rhumbline_equation(), G_set_geodesic_distance_lat1(), and G_set_geodesic_distance_lat2().


Generated on Fri Nov 21 11:02:25 2008 for GRASS by  doxygen 1.5.1