![]() |
VR-Link API Documentation for HLA Evolved
|
DtMapDatums represent a spheroid model of the earth, with a data shift to facilitate easy conversion to geocentric systems. More...
Collaboration diagram for DtMapDatum:Public Member Functions | |
| DtMapDatum () | |
| Default constructor. More... | |
| DtMapDatum (const DtSpheroid &s, DtFloat64 x, DtFloat64 y, DtFloat64 z) | |
| Constructor which takes a spheroid and the coordinates for the center of the earth. More... | |
| DtMapDatum (const DtMapDatum &src) | |
| Copy Constructor. More... | |
| ~DtMapDatum () | |
| Destructor. More... | |
| DtMapDatum & | operator= (const DtMapDatum &src) |
| Map Datums can be copied and assigned. More... | |
| int | operator== (const DtMapDatum &rhs) const |
| test for equality More... | |
| int | operator!= (const DtMapDatum &rhs) const |
| test for inequality More... | |
Public Attributes | |
| DtSpheroid | spheroid |
| DtFloat64 | datumShift [3] |
DtMapDatums represent a spheroid model of the earth, with a data shift to facilitate easy conversion to geocentric systems.
DtMapDatums are used in conversions between geocentric and geodetic coordinates. There are many MAP datums available, the default is DtWGS84 which was created in 1984 for the whole world. Some MAP Datums are good for specific parts of the world. This class is designed to be subclassed and extended.
VR-Link provides implementations of many common Spheroid's used in simulations.
| DtMapDatum::DtMapDatum | ( | ) |
Default constructor.
| DtMapDatum::DtMapDatum | ( | const DtSpheroid & | s, |
| DtFloat64 | x, | ||
| DtFloat64 | y, | ||
| DtFloat64 | z | ||
| ) |
Constructor which takes a spheroid and the coordinates for the center of the earth.
| DtMapDatum::DtMapDatum | ( | const DtMapDatum & | src | ) |
Copy Constructor.
| DtMapDatum::~DtMapDatum | ( | ) |
Destructor.
| int DtMapDatum::operator!= | ( | const DtMapDatum & | rhs | ) | const |
test for inequality
| DtMapDatum& DtMapDatum::operator= | ( | const DtMapDatum & | src | ) |
Map Datums can be copied and assigned.
| int DtMapDatum::operator== | ( | const DtMapDatum & | rhs | ) | const |
test for equality
| DtFloat64 DtMapDatum::datumShift[3] |
| DtSpheroid DtMapDatum::spheroid |