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:381
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
Definition: StdDeque.h:50
Unit Conversion Library namespace.
Definition: current.h:31
UNIT_ADD(area, square_meter, square_meters, sq_m, unit< std::ratio< 1 >, units::category::area_unit >) UNIT_ADD(area
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:758
Type representing an arbitrary unit.
Definition: base.h:884