#include <GeoPos.h>
Inheritance diagram for LLA:

Public Methods | |
| LLA () | |
| Construct a default LLA. | |
| LLA (double lat, double lon, double alt=0.0) | |
| Construct a new LLA. | |
| LLA (UTM const &, ReferenceEllipsoid const &=GeoRef::WGS84) | |
| Copy constructor to convert from UTM. | |
| LLA (ECEF const &, ReferenceEllipsoid const &=GeoRef::WGS84) | |
| Copy constructor to convert from ECEF. | |
| LLA const & | operator= (UTM const &) |
| Convert from UTM to LLA (using WGS84). | |
| LLA const & | operator= (ECEF const &) |
| Convert from ECEF to LLA (using WGS84). | |
| virtual | ~LLA () |
| void | set (double lat, double lon, double alt=0.0) |
| Set latitude, longitude, and altitude in radians. | |
| void | setDegrees (double lat, double lon, double alt=0.0) |
| Set latitude, longitude, and altitude in degrees. | |
| double | latitude () const |
| Get latitude in radians. | |
| double | longitude () const |
| Get longitude in radians. | |
| double | altitude () const |
| Get altitude in meters. | |
| virtual std::string | asString () const |
| String representation. | |
| virtual std::string | typeString () const |
| Return a string representation of the type. | |
| void | parseXML (const char *) |
| Set the current position from XML character data. | |
| virtual void | serialize (Archive &) |
| Serialize to or from a data archive. | |
| virtual void | convertXML () |
| Convert XML data to internal format prior to serialization. | |
A geospatial coordinate class representing latitude, longitude, and altitude.
There are two distinct XML formats for this type. The first lists latitude and longitude in degrees, followed by altitude in meters. The second uses a degree-minute-second notation for the latitude and longitude. The notation for the second format is slighly non-standard to avoid using the degree symbol. Examples:
and
|
|
Construct a default LLA.
|
|
||||||||||||||||
|
Construct a new LLA.
|
|
||||||||||||
|
Copy constructor to convert from UTM.
|
|
||||||||||||
|
Copy constructor to convert from ECEF.
|
|
|
|
|
|
Get altitude in meters.
|
|
|
String representation.
Implements BaseType. |
|
|
Convert XML data to internal format prior to serialization. This method is currently only called by the XML parser for Object classes. If another BaseType class requires this method, a call must be added to the appropriate XML handler in the parser. |
|
|
Get latitude in radians.
|
|
|
Get longitude in radians.
|
|
|
Convert from ECEF to LLA (using WGS84).
|
|
|
Convert from UTM to LLA (using WGS84).
|
|
|
Set the current position from XML character data.
LLA coordinate format (lat, lon, alt): @n
LLA coordinate format 2 (lat, lon, alt): @n Reimplemented from BaseType. |
|
|
Serialize to or from a data archive.
Reimplemented from BaseType. |
|
||||||||||||||||
|
Set latitude, longitude, and altitude in radians.
|
|
||||||||||||||||
|
Set latitude, longitude, and altitude in degrees.
|
|
|
Return a string representation of the type.
Implements BaseType. |
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:41 2003, using Doxygen 1.2.18. |