template<class T>
Rad class
Angle in radians.
Contents
See Deg for more information.
Base classes
-
template<template<class> class Derived, class T>class Unit
- Base class for units.
Constructors, destructors, conversion operators
- Rad(ZeroInitT = ZeroInit) constexpr noexcept
- Default constructor.
- Rad(NoInitT) explicit noexcept
- Construct without initializing the contents.
- Rad(T value) explicit constexpr noexcept
- Construct from unitless type.
-
template<class U>Rad(Unit<Math::
Rad, U> value) explicit constexpr noexcept - Construct from another underlying type.
-
Rad(Unit<Math::
Rad, T> value) constexpr noexcept - Copy constructor.
- Rad(Unit<Deg, T> value) constexpr
- Construct radians from degrees.
Function documentation
template<class T>
Rad<Double> operator"" _rad(long double value) constexpr
Double-precision radian value literal.
See operator""_
template<class T>
Rad<Float> operator"" _radf(long double value) constexpr
Single-precision radian value literal.
See operator""_
template<class T>
template<class T>
Corrade:: Utility:: Debug& operator<<(Corrade:: Utility:: Debug& debug,
const Unit<Rad, T>& value)
Debug output operator.