Coordinates based on a map with origin in LLA coords with conversion methods from LLA to ENU and from ENU to LLA coordinates.
More...
#include <ArGPSCoords.h>
Inherits ArENUCoords.
|
| 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 |
|
void | setOrigin (ArLLACoords org) |
|
| ArENUCoords (double x, double y, double z) |
|
ArECEFCoords | ENU2ECEF (ArLLACoords ref) |
|
double | getEast (void) const |
|
double | getNorth (void) const |
|
double | getUp (void) const |
|
void | setEast (double e) |
|
void | setNorth (double n) |
|
void | setUp (double u) |
|
| 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...
|
|
void | setX (double x) |
|
void | setY (double y) |
|
void | setZ (double z) |
|
| ~Ar3DPoint () |
| Destructor.
|
|
|
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.
◆ convertLLA2MapCoords()
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.
- Parameters
-
lat | Latitude coords. |
lon | Longitude coords. |
alt | Altitude coords. |
ea | East coords. |
no | North coords. |
up | Up coords. |
- Returns
- true if conversion is possible else false.
◆ convertMap2LLACoords()
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.
- Parameters
-
ea | East coords. |
no | North coords. |
up | Up coords. |
lat | Latitude coords. |
lon | Longitude coords. |
alt | Altitude coords. |
- Returns
- true if conversion is possible else false.
The documentation for this class was generated from the following files:
- ArGPSCoords.h
- ArGPSCoords.cpp