42#if !defined(DISABLE_PREDEFINED_UNITS) || \
43 defined(ENABLE_PREDEFINED_SOLID_ANGLE_UNITS)
45 solid_angle, steradian, steradians, sr,
50 unit<
std::ratio<4>, steradians,
std::ratio<1>>)
55using namespace solid_angle;
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:369
typename units::detail::squared_impl< U >::type squared
represents the unit type of class U squared
Definition: base.h:1165
Unit Conversion Library namespace.
Definition: data.h:31
UNIT_ADD_WITH_METRIC_PREFIXES(solid_angle, steradian, steradians, sr, unit< std::ratio< 1 >, units::category::solid_angle_unit >) UNIT_ADD(solid_angle
squared< angle::degrees > UNIT_ADD(solid_angle, spat, spats, sp, unit< std::ratio< 4 >, steradians, std::ratio< 1 > >) using namespace solid_angle
degrees
Definition: angle.h:43
sq_deg
Definition: solid_angle.h:47
degrees_squared
Definition: solid_angle.h:47
degree_squared
Definition: solid_angle.h:47
Class representing SI base unit types.
Definition: base.h:757
Type representing an arbitrary unit.
Definition: base.h:884