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