navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
geodesic.h
Go to the documentation of this file.
1 
20 #ifndef lint
21 /*static char GEODESIC_H_ID[] = "@(#)geodesic.h 4.3 95/08/19 GIE REL"; */
22 #endif
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #ifndef _IN_GEOD_SET
29 # define GEOD_EXTERN extern
30 #else
31 # define GEOD_EXTERN
32 #endif
33 
35  double A;
36  double LAM1, PHI1, ALPHA12;
37  double LAM2, PHI2, ALPHA21;
38  double DIST;
39  double ONEF, FLAT, FLAT2, FLAT4, FLAT64;
40  int ELLIPSE;
41 } GEODESIC;
42 
43 # define geod_a GEODESIC.A
44 # define lam1 GEODESIC.LAM1
45 # define phi1 GEODESIC.PHI1
46 # define al12 GEODESIC.ALPHA12
47 # define lam2 GEODESIC.LAM2
48 # define phi2 GEODESIC.PHI2
49 # define al21 GEODESIC.ALPHA21
50 # define geod_S GEODESIC.DIST
51 # define geod_f GEODESIC.FLAT
52 # define onef GEODESIC.ONEF
53 # define f2 GEODESIC.FLAT2
54 # define f4 GEODESIC.FLAT4
55 # define ff2 GEODESIC.FLAT4
56 # define f64 GEODESIC.FLAT64
57 # define ellipse GEODESIC.ELLIPSE
58 
59 
62 
63 void geod_set(int, char **);
64 void geod_for(void);
65 void geod_pre(void);
66 void geod_inv(void);
67 
68 #ifdef __cplusplus
69 }
70 #endif
GEOD_EXTERN double del_alpha
Definition: geodesic.h:61
GEOD_EXTERN double to_meter
Definition: geodesic.h:61
double A
Definition: geodesic.h:35
double FLAT4
Definition: geodesic.h:39
GEOD_EXTERN double fr_meter
Definition: geodesic.h:61
Definition: geodesic.h:34
int ELLIPSE
Definition: geodesic.h:40
double FLAT64
Definition: geodesic.h:39
GEOD_EXTERN int n_alpha
Definition: geodesic.h:60
double ALPHA12
Definition: geodesic.h:36
void geod_pre(void)
Definition: geod_for.c:29
double DIST
Definition: geodesic.h:38
#define GEOD_EXTERN
Definition: geodesic.h:29
void geod_set(int, char **)
Definition: geod_set.c:32
double FLAT
Definition: geodesic.h:39
void geod_for(void)
Definition: geod_for.c:67
double ONEF
Definition: geodesic.h:39
double LAM1
Definition: geodesic.h:36
double FLAT2
Definition: geodesic.h:39
void geod_inv(void)
Definition: geod_inv.c:27
double ALPHA21
Definition: geodesic.h:37
double LAM2
Definition: geodesic.h:37
double PHI1
Definition: geodesic.h:36
GEOD_EXTERN struct geodesic GEODESIC
GEOD_EXTERN int n_S
Definition: geodesic.h:60
double PHI2
Definition: geodesic.h:37