![]() |
VR-Link API Documentation for HLA 1516
|
Instances of DtGeodeticCoord are used to explicitly represent Geodetic coordinates. More...
Inheritance diagram for DtGeodeticCoord:
Collaboration diagram for DtGeodeticCoord:Public Member Functions | |
| DtGeodeticCoord (const DtReferenceEllipsoid *ellipse=DtGlobalEllipsoid()) | |
| default constructor If no reference ellipse is specified, a global one will be used | |
| DtGeodeticCoord (double lat, double lon, double alt, const DtReferenceEllipsoid *ellipse=DtGlobalEllipsoid()) | |
| constructor If no reference ellipse is specified, a global one will be used | |
| virtual | ~DtGeodeticCoord () |
| destructor | |
| DtGeodeticCoord (const DtGeodeticCoord &src) | |
| copy constructor | |
| DtGeodeticCoord & | operator= (const DtGeodeticCoord &src) |
| assignment operator | |
| virtual DtGeodeticCoord & | setGeocentric (const DtVector &geocentric) |
| Set from geocentric coordinate (convert geocentric to geodetic). | |
| virtual void | getGeocentric (DtVector &geocentric) const |
| Get geocentric coordinate equivalent (convert geodetic to geocentric). | |
| virtual DtVector | geocentric () const |
| Get geocentric coordinate equivalent (convert geodetic to geocentric). | |
| virtual void | printDataToStream (std::ostream &str) const |
| prints out a formated string to the stream | |
| virtual void | setLat (DtFloat64 lat) |
| Set/Get the latitude. | |
| virtual DtFloat64 | lat () const |
| virtual void | setLon (DtFloat64 lon) |
| Set/Get the longitude. | |
| virtual DtFloat64 | lon () const |
| virtual void | setAlt (DtFloat64 alt) |
| Set/Get the altitude. | |
| virtual DtFloat64 | alt () const |
| virtual const DtMapDatum & | mapDatum () const |
Protected Attributes | |
| const DtReferenceEllipsoid * | myEllipsoid |
Instances of DtGeodeticCoord are used to explicitly represent Geodetic coordinates.
| DtGeodeticCoord::DtGeodeticCoord | ( | const DtReferenceEllipsoid * | ellipse = DtGlobalEllipsoid() | ) |
default constructor If no reference ellipse is specified, a global one will be used
| DtGeodeticCoord::DtGeodeticCoord | ( | double | lat, |
| double | lon, | ||
| double | alt, | ||
| const DtReferenceEllipsoid * | ellipse = DtGlobalEllipsoid() |
||
| ) |
constructor If no reference ellipse is specified, a global one will be used
| virtual DtGeodeticCoord::~DtGeodeticCoord | ( | ) | [virtual] |
destructor
| DtGeodeticCoord::DtGeodeticCoord | ( | const DtGeodeticCoord & | src | ) |
copy constructor
| DtFloat64 DtGeodeticCoord::alt | ( | ) | const [inline, virtual] |
Referenced by DtGocentricToMgFlatEarth().
| virtual DtVector DtGeodeticCoord::geocentric | ( | ) | const [virtual] |
Get geocentric coordinate equivalent (convert geodetic to geocentric).
Note that this is not returning a reference.
| virtual void DtGeodeticCoord::getGeocentric | ( | DtVector & | geocentric | ) | const [virtual] |
Get geocentric coordinate equivalent (convert geodetic to geocentric).
| DtFloat64 DtGeodeticCoord::lat | ( | ) | const [inline, virtual] |
Referenced by DtGocentricToMgFlatEarth().
| DtFloat64 DtGeodeticCoord::lon | ( | ) | const [inline, virtual] |
Referenced by DtGocentricToMgFlatEarth().
| virtual const DtMapDatum& DtGeodeticCoord::mapDatum | ( | ) | const [virtual] |
| DtGeodeticCoord& DtGeodeticCoord::operator= | ( | const DtGeodeticCoord & | src | ) |
assignment operator
| virtual void DtGeodeticCoord::printDataToStream | ( | std::ostream & | str | ) | const [virtual] |
prints out a formated string to the stream
Reimplemented from DtVector.
| void DtGeodeticCoord::setAlt | ( | DtFloat64 | alt | ) | [inline, virtual] |
Set/Get the altitude.
Specified in meters.
| virtual DtGeodeticCoord& DtGeodeticCoord::setGeocentric | ( | const DtVector & | geocentric | ) | [virtual] |
Set from geocentric coordinate (convert geocentric to geodetic).
Can also use assignment operator.
Referenced by DtGocentricToMgFlatEarth().
| void DtGeodeticCoord::setLat | ( | DtFloat64 | lat | ) | [inline, virtual] |
Set/Get the latitude.
Specified in radians.
| void DtGeodeticCoord::setLon | ( | DtFloat64 | lon | ) | [inline, virtual] |
Set/Get the longitude.
Specified in radians.
const DtReferenceEllipsoid* DtGeodeticCoord::myEllipsoid [protected] |