43#if !defined(DISABLE_PREDEFINED_UNITS) || \
44 defined(ENABLE_PREDEFINED_ANGULAR_VELOCITY_UNITS)
45UNIT_ADD(angular_velocity, radians_per_second, radians_per_second, rad_per_s,
49UNIT_ADD(angular_velocity, turns_per_second, turns_per_second, tps,
52 unit<
std::ratio<2, 60>, radians_per_second,
std::ratio<1>>)
53UNIT_ADD(angular_velocity, milliarcseconds_per_year, milliarcseconds_per_year,
59using namespace angular_velocity;
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:369
typename units::detail::inverse_impl< U >::type inverse
represents the inverse unit type of class U.
Definition: base.h:1134
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition: base.h:1434
Unit Conversion Library namespace.
Definition: data.h:31
squared< angle::degrees > UNIT_ADD(solid_angle, spat, spats, sp, unit< std::ratio< 4 >, steradians, std::ratio< 1 > >) using namespace solid_angle
degrees_per_second
Definition: angular_velocity.h:47
degrees
Definition: angle.h:43
compound_unit< angle::degrees, inverse< time::seconds > > rpm
Definition: angular_velocity.h:51
compound_unit< angle::degrees, inverse< time::seconds > > revolutions_per_minute
Definition: angular_velocity.h:51
deg_per_s
Definition: angular_velocity.h:47
Class representing SI base unit types.
Definition: base.h:757
Type representing an arbitrary unit.
Definition: base.h:884