47 #ifndef OME_COMMON_UNITS_ANGLE_H 48 #define OME_COMMON_UNITS_ANGLE_H 50 #include <ome/common/config.h> 51 #include <ome/common/units/types.h> 53 #include <boost/units/base_units/angle/degree.hpp> 54 #include <boost/units/base_units/angle/gradian.hpp> 55 #include <boost/units/base_units/angle/radian.hpp> 56 #include <boost/units/unit.hpp> 57 #include <boost/units/quantity.hpp> 58 #include <boost/units/systems/si.hpp> 70 typedef boost::units::angle::radian_base_unit::unit_type
angle_unit;
72 typedef quantity<boost::units::angle::radian_base_unit::unit_type>
angle_quantity;
75 typedef boost::units::angle::radian_base_unit::unit_type
radian_unit;
84 typedef boost::units::angle::degree_base_unit::unit_type
degree_unit;
93 typedef boost::units::angle::gradian_base_unit::unit_type
gradian_unit;
111 #endif // OME_COMMON_UNITS_ANGLE_H quantity< radian_unit > radian_quantity
Measured quantity in radians.
Definition: angle.h:81
quantity< boost::units::angle::radian_base_unit::unit_type > angle_quantity
Measured quantity in angle.
Definition: angle.h:72
boost::units::angle::radian_base_unit::unit_type radian_unit
Unit definition for radian.
Definition: angle.h:75
boost::units::angle::gradian_base_unit::unit_type gradian_unit
Unit definition for gradian.
Definition: angle.h:93
quantity< degree_unit > degree_quantity
Measured quantity in degrees.
Definition: angle.h:90
boost::units::angle::degree_base_unit::unit_type degree_unit
Unit definition for degree.
Definition: angle.h:84
quantity< gradian_unit > gradian_quantity
Measured quantity in gradians.
Definition: angle.h:103
boost::units::angle::radian_base_unit::unit_type angle_unit
Unit definition for angle.
Definition: angle.h:70
quantity< gradian_unit > gon_quantity
Measured quantity in gons.
Definition: angle.h:105
BOOST_UNITS_STATIC_CONSTANT(radian, radian_unit)
Numeric constant for radian.