Mapper
Classes | Macros | Functions
geographic.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ordinates
 
struct  location_unit
 
struct  location
 

Macros

#define NO_ORD   2147483647L
 
#define MAX_LAT_DEG   90L
 
#define MAX_LON_DEG   180L
 
#define MAX_MINUTE   60L
 
#define MAX_SECOND   60L
 
#define MIN   060.000
 
#define SEC   3600.00
 
#define MAGIC_NUM   5000.00
 

Functions

struct ordinates code_ords (struct location loc)
 
struct location decode_ords (struct ordinates ord)
 
signed long int get_location (struct location *loc)
 
void dist_dir (struct location *start_loc, struct location *dest_loc, float *distance, float *angle, char *compass)
 

Macro Definition Documentation

◆ MAGIC_NUM

#define MAGIC_NUM   5000.00

Definition at line 16 of file geographic.h.

◆ MAX_LAT_DEG

#define MAX_LAT_DEG   90L

Definition at line 10 of file geographic.h.

◆ MAX_LON_DEG

#define MAX_LON_DEG   180L

Definition at line 11 of file geographic.h.

◆ MAX_MINUTE

#define MAX_MINUTE   60L

Definition at line 12 of file geographic.h.

◆ MAX_SECOND

#define MAX_SECOND   60L

Definition at line 13 of file geographic.h.

◆ MIN

#define MIN   060.000

Definition at line 14 of file geographic.h.

◆ NO_ORD

#define NO_ORD   2147483647L

Definition at line 9 of file geographic.h.

◆ SEC

#define SEC   3600.00

Definition at line 15 of file geographic.h.

Function Documentation

◆ code_ords()

struct ordinates code_ords ( struct location  loc)

◆ decode_ords()

struct location decode_ords ( struct ordinates  ord)

◆ dist_dir()

void dist_dir ( struct location start_loc,
struct location dest_loc,
float *  distance,
float *  angle,
char *  compass 
)

◆ get_location()

signed long int get_location ( struct location loc)