41 dLongitudeRadians_{}{}
45 double dLongitudeDegrees,
46 double dAltitudeMeters):
47 dLatitudeDegrees_{dLatitudeDegrees},
48 dLongitudeDegrees_{dLongitudeDegrees},
49 dAltitudeMeters_{dAltitudeMeters},
56 return dLatitudeDegrees_;
62 return dLongitudeDegrees_;
68 return dAltitudeMeters_;
74 return dLatitudeRadians_;
80 return dLongitudeRadians_;
87 return dLatitudeDegrees_ == rhs.dLatitudeDegrees_ &&
88 dLongitudeDegrees_ == rhs.dLongitudeDegrees_ &&
89 dAltitudeMeters_ == rhs.dAltitudeMeters_;
95 return !(*
this == rhs);
bool operator!=(const Position &rhs) const
bool operator==(const Position &rhs) const
double getLongitudeDegrees() const
double DEGREES_TO_RADIANS(const double deg)
double getLatitudeDegrees() const
double getAltitudeMeters() const
double getLatitudeRadians() const
Holds latitude, longitude and altitude.
double getLongitudeRadians() const