25 #ifndef INCLUDED_Angles_h_GUID_DDFCCAF8_9ED0_4E85_62F3_173C073B8BB7
26 #define INCLUDED_Angles_h_GUID_DDFCCAF8_9ED0_4E85_62F3_173C073B8BB7
32 #include <boost/units/quantity.hpp>
33 #include <boost/units/systems/si/plane_angle.hpp>
34 #include <boost/units/systems/angle/degrees.hpp>
40 using boost::units::si::radians;
41 using boost::units::degree::degrees;
45 template <
typename System,
typename Y =
double>
47 boost::units::unit<boost::units::plane_angle_dimension, System>, Y>;
52 boost::units::quantity<boost::units::si::plane_angle, Y>;
57 boost::units::quantity<boost::units::degree::plane_angle, Y>;
66 template <
typename System,
typename Y>
73 template <
typename System,
typename Y>
81 #endif // INCLUDED_Angles_h_GUID_DDFCCAF8_9ED0_4E85_62F3_173C073B8BB7
AngleRadiansd Angle
Default angle type.
The main namespace for all C++ elements of the framework, internal and external.
boost::units::quantity< boost::units::unit< boost::units::plane_angle_dimension, System >, Y > AngleGeneric
Convenience template alias for a plane_angle quantity in an arbitrary system with arbitrary scalar...
Y getDegrees(AngleGeneric< System, Y > const angle)
Get the raw scalar value of your angle in degrees.
Y getRadians(AngleGeneric< System, Y > const angle)
Get the raw scalar value of your angle in radians.
boost::units::quantity< boost::units::si::plane_angle, Y > AngleRadians
Alias for an angle in radians with arbitrary scalar type.
boost::units::quantity< boost::units::degree::plane_angle, Y > AngleDegrees
Alias for an angle in degrees with arbitrary scalar type.