Aria  2.8.0
ArMapGPSCoords Class Reference

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.

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
 
void setOrigin (ArLLACoords org)
 
- 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
 
void setEast (double e)
 
void setNorth (double n)
 
void setUp (double u)
 
- 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...
 
void setX (double x)
 
void setY (double y)
 
void setZ (double z)
 
 ~Ar3DPoint ()
 Destructor.
 

Public Attributes

ArECEFCoordsmyOriginECEF
 
ArLLACoordsmyOriginLLA
 
bool myOriginSet
 

Additional Inherited Members

- Protected Attributes inherited from Ar3DPoint
double myX
 
double myY
 
double myZ
 

Detailed Description

Coordinates based on a map with origin in LLA coords with conversion methods from LLA to ENU and from ENU to LLA coordinates.

Member Function Documentation

◆ 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
latLatitude coords.
lonLongitude coords.
altAltitude coords.
eaEast coords.
noNorth coords.
upUp 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
eaEast coords.
noNorth coords.
upUp coords.
latLatitude coords.
lonLongitude coords.
altAltitude coords.
Returns
true if conversion is possible else false.

The documentation for this class was generated from the following files: