Inherited by Eaagles::MovingMap::MapPosition.
Inheritance diagram for Eaagles::MovingMap::WorldImagePos:


Public Member Functions | |
| WorldImagePos () | |
| virtual void | setOrigin (const double lat, const double lon, const LCreal hdg) |
| virtual void | setZoomFactor (const LCreal zoom) |
| virtual void | setNorthUp (const bool nup) |
| double | getOriginLat () |
| double | getOriginLon () |
| LCreal | getHeading () |
| LCreal | getZoomFactor () |
| bool | getNorthUp () |
| virtual void | latLon2MM (const double lat, const double lon, float &northMM, float &eastMM) |
| virtual void | latLon2IN (const double lat, const double lon, float &northIN, float &eastIN) |
| virtual void | mm2DeltaLatLon (const LCreal deltaNorthMM, const LCreal deltaEastMM, double &deltaLat, double &deltaLon) |
| virtual float | nm2MM (const LCreal distNM) |
| virtual float | nm2IN (const LCreal distNM) |
Private Attributes | |
| double | refLat |
| double | refLon |
| LCreal | heading |
| LCreal | zoomFactor |
| bool | northUp |
| Eaagles::MovingMap::WorldImagePos::WorldImagePos | ( | ) |
Constructor. Initializes the reference latitude, longitude and heading.
| void Eaagles::MovingMap::WorldImagePos::setOrigin | ( | const double | lat, | |
| const double | lon, | |||
| const LCreal | hdg | |||
| ) | [virtual] |
Sets the origin position.
| void Eaagles::MovingMap::WorldImagePos::setZoomFactor | ( | const LCreal | zoom | ) | [virtual] |
Sets the zoom factor.
| void Eaagles::MovingMap::WorldImagePos::setNorthUp | ( | const bool | nup | ) | [virtual] |
Sets the north up flag.
| double Eaagles::MovingMap::WorldImagePos::getOriginLat | ( | ) | [inline] |
Returns the reference latitude.
| double Eaagles::MovingMap::WorldImagePos::getOriginLon | ( | ) | [inline] |
Returns the reference longitude.
| LCreal Eaagles::MovingMap::WorldImagePos::getHeading | ( | ) | [inline] |
Returns the heading.
| LCreal Eaagles::MovingMap::WorldImagePos::getZoomFactor | ( | ) | [inline] |
Returns the zoom factor.
| bool Eaagles::MovingMap::WorldImagePos::getNorthUp | ( | ) | [inline] |
Returns the north up.
| void Eaagles::MovingMap::WorldImagePos::latLon2MM | ( | const double | lat, | |
| const double | lon, | |||
| float & | northMM, | |||
| float & | eastMM | |||
| ) | [virtual] |
conversion from lat/lon/nautical miles to millimeters. Note the moving map itself uses millimeters
| void Eaagles::MovingMap::WorldImagePos::latLon2IN | ( | const double | lat, | |
| const double | lon, | |||
| float & | northIN, | |||
| float & | eastIN | |||
| ) | [virtual] |
conversion from lat/lon/nautical miles to inches. Note the moving map itself uses millimeters
| void Eaagles::MovingMap::WorldImagePos::mm2DeltaLatLon | ( | const LCreal | deltaNorthMM, | |
| const LCreal | deltaEastMM, | |||
| double & | deltaLat, | |||
| double & | deltaLon | |||
| ) | [virtual] |
conversion from millimeters to lat/lon. Note the moving map itself uses millimeters
| float Eaagles::MovingMap::WorldImagePos::nm2MM | ( | const LCreal | distNM | ) | [virtual] |
conversion from nautical miles to millimeters. Note the moving map itself uses millimeters
| float Eaagles::MovingMap::WorldImagePos::nm2IN | ( | const LCreal | distNM | ) | [virtual] |
conversion from nautical miles to inches.
double Eaagles::MovingMap::WorldImagePos::refLat [private] |
reference latitude
double Eaagles::MovingMap::WorldImagePos::refLon [private] |
reference longitude
heading (degs)
zoom factor (1 is normal)
bool Eaagles::MovingMap::WorldImagePos::northUp [private] |
northup flag
1.5.0