Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

ArMapGPSCoords Class Reference

#include <ArGPSCoords.h>

Inheritance diagram for ArMapGPSCoords:

ArENUCoords Ar3DPoint List of all members.

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.


Public Member Functions

 ArMapGPSCoords (ArLLACoords org)
bool convertLLA2MapCoords (const ArLLACoords &lla, double &ea, double &no, double &up)
bool convertLLA2MapCoords (const double lat, const double lon, const double alt, double &ea, double &no, double &up) const
bool convertMap2LLACoords (const double ea, const double no, const double up, double &lat, double &lon, double &alt) const

Public Attributes

ArECEFCoordsmyOriginECEF
ArLLACoordsmyOriginLLA
bool myOriginSet


Member Function Documentation

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.

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:
Generated on Thu Jan 7 10:34:42 2010 for Aria by  doxygen 1.4.2