FlightGear next
|
Helper class to wrap SGMagVar functionality and cache the variation and dip for a certain position. More...
Inherits SGMagVar.
Public Member Functions | |
MagneticVariation () | |
Constructor. | |
double | get_variation_deg (double lon, double lat, double alt) |
get the magnetic variation for a specific position at the current time | |
double | get_dip_deg (double lon, double lat, double alt) |
get the magnetic dip for a specific position at the current time | |
Helper class to wrap SGMagVar functionality and cache the variation and dip for a certain position.
Definition at line 38 of file metarproperties.cxx.
|
inline |
Constructor.
Definition at line 43 of file metarproperties.cxx.
|
inline |
get the magnetic dip for a specific position at the current time
lon | the positions longitude in degrees |
lat | the positions latitude in degrees |
alt | the positions height above MSL (aka altitude) in feet |
Definition at line 92 of file metarproperties.cxx.
|
inline |
get the magnetic variation for a specific position at the current time
lon | the positions longitude in degrees |
lat | the positions latitude in degrees |
alt | the positions height above MSL (aka altitude) in feet |
Definition at line 86 of file metarproperties.cxx.