lomiri-location-service
..
An aggregating location service providing positioning and geocoding capabilities to applications.
|
Go to the documentation of this file.
18 #ifndef LOCATION_SERVICE_COM_LOMIRI_LOCATION_WGS84_COORDINATE_H_
19 #define LOCATION_SERVICE_COM_LOMIRI_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 <<
")";
83 #endif // LOCATION_SERVICE_COM_LOMIRI_LOCATION_WGS84_COORDINATE_H_
std::ostream & operator<<(std::ostream &out, const Coordinate< T, U > &coord)
Coordinate(const Quantity &value=Quantity())
bool operator==(const Coordinate< Tag, UnitType > &rhs) const
units::Quantity< Unit > Quantity
boost::units::quantity< Unit, double > Quantity
Coordinate< T, U > operator-(const Coordinate< T, U > &lhs, const Coordinate< T, U > &rhs)
bool operator!=(const Coordinate< Tag, UnitType > &rhs) const
static void check_and_throw_if_invalid(const typename Coordinate::Quantity &coordinate)