63 #define MAP_DEM_ERROR_BODY -1 64 #define MAP_DEM_ERROR_SPECS -2 66 #define DEM_TYPE_SINGLE 1 67 #define DEM_TYPE_MULTI 2 69 #define DEM_CACHE_NUM 5 70 #define MAX_DEMINDEX 100 71 #define MAX_DEM_BODIES 20 126 uint16_t demindexc[200][400];
143 double map_dem_alt(
int body,
double lon,
double lat,
double res);
double alt3
Definition: demlib.h:122
vector< vector< dem_pixel > > pixel
Definition: demlib.h:105
#define MAX_DEMINDEX
Definition: demlib.h:70
int map_dem_init()
Definition: demlib.cpp:66
double radius
Definition: demlib.h:115
double hscale
Definition: demlib.h:118
int map_dem_tilt(int body, double lon, double lat, double scale, dem_pixel *pixel)
Definition: demlib.cpp:506
double latul
Definition: demlib.h:96
double alt1
Definition: demlib.h:120
map_dem_body * map_dem_open(int body)
Definition: demlib.cpp:149
uint16_t demcount
Definition: demlib.h:123
float alt
Definition: demlib.h:84
double utc
Definition: demlib.h:93
double lonul
Definition: demlib.h:95
Planetary body support structure.
Definition: demlib.h:111
dem_pixel map_dem_pixel(int body, double lon, double lat, double res)
Height in DEM.
Definition: demlib.cpp:342
DEM support structure.
Definition: demlib.h:91
Headers and definitions common to all COSMOS.
string name
Definition: cubesat2obj.cpp:6
double lonlr
Definition: demlib.h:97
uint32_t xcount
Definition: demlib.h:101
map_dem_body * planet_dem(int body)
Body for DEM.
Definition: demlib.cpp:57
double psize
Definition: demlib.h:99
double dlon
Definition: demlib.h:103
double highest
Definition: demlib.h:116
double orbit
Definition: demlib.h:114
uint32_t ycount
Definition: demlib.h:102
double map_dem_alt(int body, double lon, double lat, double res)
Definition: demlib.cpp:326
double htov
Definition: demlib.h:119
double vscale
Definition: demlib.h:117
double latlr
Definition: demlib.h:98
Location value.
Definition: demlib.h:82
string name
Definition: demlib.h:113
void map_dem_scale(map_dem_body *body, double vscale, double hscale)
Definition: demlib.cpp:319
double alt2
Definition: demlib.h:121
void map_dem_close(map_dem_body *body)
double dlat
Definition: demlib.h:104
void map_dem_cache(int body, int num)
Definition: demlib.cpp:99
double scale
Definition: demlib.h:100