#include <Magnum/Math/Angle.h>
template<class T>
Rad class
Angle in radians.
See Deg for more information.
Base classes
-
template<template<class> class Derived, class T>class Unit<Rad, T>
- Base class for units.
Constructors, destructors, conversion operators
- Rad() constexpr noexcept
- Default constructor.
- Rad(ZeroInitT) explicit constexpr noexcept
- Constructor a zero angle.
-
Rad(Magnum::
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 noexcept
- Construct radians from degrees.
Function documentation
template<class T>
Magnum:: Math:: Rad<T>:: Rad() constexpr noexcept
Default constructor.
Equivalent to Rad(ZeroInitT).
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>
Utility:: Debug& operator<<(Utility:: Debug& debug,
const Unit<Rad, T>& value)
Debug output operator.