|
Aria
2.7.5.2
|
#include <ArGPSCoords.h>
Inherits ArENUCoords.
Public Member Functions | |
| ArMapGPSCoords (ArLLACoords org) | |
| bool | convertLLA2MapCoords (const double lat, const double lon, const double alt, double &ea, double &no, double &up) const |
| bool | convertLLA2MapCoords (const ArLLACoords &lla, double &ea, double &no, double &up) |
| bool | convertMap2LLACoords (const double ea, const double no, const double up, double &lat, double &lon, double &alt) const |
Public Member Functions inherited from ArENUCoords | |
| ArENUCoords (double x, double y, double z) | |
| ArECEFCoords | ENU2ECEF (ArLLACoords ref) |
| double | getEast (void) const |
| double | getNorth (void) const |
| double | getUp (void) const |
Public Member Functions inherited from Ar3DPoint | |
| Ar3DPoint (double x, double y, double z) | |
| Ar3DPoint | cross (Ar3DPoint c) |
| Cross product. | |
| double | dot (Ar3DPoint c) |
| Dot product. | |
| double | getX () const |
| double | getY () const |
| double | getZ () const |
| Ar3DPoint | operator* (double c) |
| Diff. | |
| Ar3DPoint | operator+ (Ar3DPoint c) |
| Add. | |
| Ar3DPoint | operator- (Ar3DPoint c) |
| Diff. | |
| void | print (const char *head=NULL) |
| Print. More... | |
| ~Ar3DPoint () | |
| Destructor. | |
Public Attributes | |
| ArECEFCoords * | myOriginECEF |
| ArLLACoords * | myOriginLLA |
| bool | myOriginSet |
Additional Inherited Members | |
Protected Attributes inherited from Ar3DPoint | |
| double | myX |
| double | myY |
| double | myZ |
Coordinates based on a map with origin in LLA coords with conversion methods from LLA to ENU and from ENU to LLA coordinates.
| bool ArMapGPSCoords::convertLLA2MapCoords | ( | const double | lat, |
| const double | lon, | ||
| const double | alt, | ||
| double & | ea, | ||
| double & | no, | ||
| double & | up | ||
| ) | const |
Actual function which does the conversion from LLA to Map Coords.
| lat,: | Latitude coords. |
| lon,: | Longitude coords. |
| alt,: | Altitude coords. |
| ea,: | East coords. |
| no,: | North coords. |
| up,: | Up coords. |
| bool ArMapGPSCoords::convertMap2LLACoords | ( | const double | ea, |
| const double | no, | ||
| const double | up, | ||
| double & | lat, | ||
| double & | lon, | ||
| double & | alt | ||
| ) | const |
Actual function which does the conversion from ENU coords to LLA coords.
| ea,: | East coords. |
| no,: | North coords. |
| up,: | Up coords. |
| lat,: | Latitude coords. |
| lon,: | Longitude coords. |
| alt,: | Altitude coords. |