libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
Loading...
Searching...
No Matches
Data Fields
airport_t Struct Reference

#include <airportdb.h>

Collaboration diagram for airport_t:
Collaboration graph
[legend]

Data Fields

char ident [8]
 
char icao [8]
 
char iata [4]
 
char cc [4]
 
char cc3 [4]
 
char name [24]
 
char * name_orig
 
char * country
 
char * city
 
geo_pos3_t refpt
 
geo_pos3_t refpt_m
 
bool_t geo_linked
 
double TA
 
double TL
 
double TA_m
 
double TL_m
 
avl_tree_t rwys
 
avl_tree_t ramp_starts
 
list_t freqs
 
bool_t load_complete
 
vect3_t ecef
 
fpp_t fpp
 
bool_t in_navdb
 
bool_t have_iaps
 
avl_node_t apt_dat_node
 
list_node_t cur_arpts_node
 
avl_node_t tile_node
 

Detailed Description

The master airport data structure.

Definition at line 269 of file airportdb.h.

Field Documentation

◆ apt_dat_node

avl_node_t apt_dat_node

Used by apt_dat tree.

Definition at line 302 of file airportdb.h.

◆ cc

char cc[4]

2-letter ICAO country/region code, nul terminated.

Definition at line 277 of file airportdb.h.

◆ cc3

char cc3[4]

3-letter ISO-3166 country code, uppercase, nul terminated.

Definition at line 279 of file airportdb.h.

◆ city

char* city

City name, nul terminated.

Definition at line 283 of file airportdb.h.

◆ country

char* country

Country name, nul terminated.

Definition at line 282 of file airportdb.h.

◆ cur_arpts_node

list_node_t cur_arpts_node

Used by cur_arpts list.

Definition at line 303 of file airportdb.h.

◆ ecef

vect3_t ecef

refpt in ECEF coordinates with elev in ft.

Definition at line 297 of file airportdb.h.

◆ fpp

fpp_t fpp

Orthographic fpp_t centered on refpt.

Definition at line 298 of file airportdb.h.

◆ freqs

list_t freqs

List of freq_info_t's.

Definition at line 294 of file airportdb.h.

◆ geo_linked

bool_t geo_linked

Airport is in geo_table.

Definition at line 287 of file airportdb.h.

◆ have_iaps

bool_t have_iaps

Used by recreate_apt_dat_cache.

Definition at line 300 of file airportdb.h.

◆ iata

char iata[4]

3-letter IATA code, nul terminated (may not be unique or exist).

Definition at line 275 of file airportdb.h.

◆ icao

char icao[8]

4-letter ICAO code, nul terminated (may not be unique or exist).

Definition at line 273 of file airportdb.h.

◆ ident

char ident[8]

Abstract identifier - only this is guaranteed to be unique.

Definition at line 271 of file airportdb.h.

◆ in_navdb

bool_t in_navdb

Used by recreate_apt_dat_cache.

Definition at line 299 of file airportdb.h.

◆ load_complete

bool_t load_complete

True if we've done load_airport.

Definition at line 296 of file airportdb.h.

◆ name

char name[24]

Airport name, nul terminated.

Definition at line 280 of file airportdb.h.

◆ name_orig

char* name_orig

Non-normalized version of name.

Definition at line 281 of file airportdb.h.

◆ ramp_starts

avl_tree_t ramp_starts

Tree of ramp_start structs

Definition at line 293 of file airportdb.h.

◆ refpt

geo_pos3_t refpt

Airport reference point location (N.B. elevation is in FEET!).

Definition at line 284 of file airportdb.h.

◆ refpt_m

geo_pos3_t refpt_m

Same as refpt, but elev in meters.

Definition at line 286 of file airportdb.h.

◆ rwys

avl_tree_t rwys

Tree of runway structures.

Definition at line 292 of file airportdb.h.

◆ TA

double TA

Transition altitude in feet.

Definition at line 288 of file airportdb.h.

◆ TA_m

double TA_m

Transition altitude in meters.

Definition at line 290 of file airportdb.h.

◆ tile_node

avl_node_t tile_node

Tiles in the airport_geo_tree.

Definition at line 304 of file airportdb.h.

◆ TL

double TL

Transition level in feet.

Definition at line 289 of file airportdb.h.

◆ TL_m

double TL_m

Transition level in meters.

Definition at line 291 of file airportdb.h.


The documentation for this struct was generated from the following file: