18 #ifndef LOCATION_SERVICE_COM_UBUNTU_LOCATION_UNITS_UNITS_H_
19 #define LOCATION_SERVICE_COM_UBUNTU_LOCATION_UNITS_UNITS_H_
21 #include <boost/units/cmath.hpp>
22 #include <boost/units/io.hpp>
23 #include <boost/units/quantity.hpp>
24 #include <boost/units/systems/angle/degrees.hpp>
25 #include <boost/units/systems/angle/gradians.hpp>
26 #include <boost/units/systems/si.hpp>
27 #include <boost/units/systems/si/prefixes.hpp>
37 typedef boost::units::degree::plane_angle PlaneAngle;
38 static const PlaneAngle Degree;
39 static const PlaneAngle Degrees;
40 typedef boost::units::gradian::plane_angle Gradians;
42 typedef boost::units::si::length Length;
43 static const Length Meter;
44 static const Length Meters;
46 using boost::units::si::kilo;
48 typedef boost::units::si::velocity Velocity;
49 static const Velocity MeterPerSecond;
50 static const Velocity MetersPerSecond;
52 template<
typename Unit>
53 using Quantity = boost::units::quantity<Unit, double>;
55 typedef boost::units::si::dimensionless Dimensionless;
57 using boost::units::sin;
58 using boost::units::cos;
59 using boost::units::atan2;
65 #endif // LOCATION_SERVICE_COM_UBUNTU_LOCATION_UNITS_UNITS_H_