|
DUECA/DUSIME
|
This class produces an "efficient" implementation of a local axis frame mapped onto ECEF or lat-lon-alt coordinates. More...
#include <AxisTransforms.hxx>
Public Member Functions | |
| LocalAxis (const LatLonAlt &lla, double psi_zero=0.0) | |
| Constructor. | |
| ECEF | toECEF (const Carthesian &coords) const |
| Create an ECEF representation from a local xy_altitude set. | |
| Carthesian | toLocal (const ECEF &ecef) const |
| Create a local representation from an ECEF location. | |
| Orientation | toNorthUp (const Orientation &o) const |
| Orientation conversion. | |
This class produces an "efficient" implementation of a local axis frame mapped onto ECEF or lat-lon-alt coordinates.
The local axis frame is not exactly squarely mapped; some fudging is done (parabolic correction) to ensure that height above the terrain is approximately correct. Note that there are still deviations; 60 NM lead to a height error of approximately 7 m (versus 900 m uncorrected!). This approximation is good enough for flying around a single airport. Otherwise, consider ECEF coordinates for your simulation and use those