18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_WGS84_COORDINATE_H_
19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_WGS84_COORDINATE_H_
33 template<
typename Coordinate>
41 template<
typename Tag,
typename UnitType>
67 template<
typename T,
typename U>
73 template<
typename T,
typename U>
76 out <<
"Coordinate(" << coord.
value <<
")";
units::Quantity< Unit > Quantity
Coordinate(const Quantity &value=Quantity())
bool operator==(const Coordinate< Tag, UnitType > &rhs) const
bool operator!=(const Coordinate< Tag, UnitType > &rhs) const
boost::units::quantity< Unit, double > Quantity
Coordinate< T, U > operator-(const Coordinate< T, U > &lhs, const Coordinate< T, U > &rhs)
std::ostream & operator<<(std::ostream &out, const Coordinate< T, U > &coord)
static void check_and_throw_if_invalid(const typename Coordinate::Quantity &coordinate)