Magnum/Math/Angle.h file

Class Magnum::Math::Deg, Magnum::Math::Rad, literal Magnum::Math::Literals::operator""_degf(), Magnum::Math::Literals::operator""_radf(), Magnum::Math::Literals::operator""_deg(), Magnum::Math::Literals::operator""_rad().

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Math
Math library.
namespace Magnum::Math::Literals
Math literals.

Classes

template<class T>
class Magnum::Math::Deg
Angle in degrees.
template<class T>
class Magnum::Math::Rad
Angle in radians.
template<class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Deg<T>>
Configuration value parser and writer.
template<class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Rad<T>>
Configuration value parser and writer.
template<>
struct Corrade::Utility::TweakableParser<Magnum::Math::Deg<Magnum::Float>>
Tweakable literal parser.
template<>
struct Corrade::Utility::TweakableParser<Magnum::Math::Deg<Magnum::Double>>
Tweakable literal parser.
template<>
struct Corrade::Utility::TweakableParser<Magnum::Math::Rad<Magnum::Float>>
Tweakable literal parser.
template<>
struct Corrade::Utility::TweakableParser<Magnum::Math::Rad<Magnum::Double>>
Tweakable literal parser.

Functions

auto operator""_deg(long double value) -> Deg<Double> constexpr
Double-precision degree value literal.
auto operator""_degf(long double value) -> Deg<Float> constexpr
Single-precision degree value literal.
auto operator""_rad(long double value) -> Rad<Double> constexpr
Double-precision radian value literal.
auto operator""_radf(long double value) -> Rad<Float> constexpr
Single-precision radian value literal.
template<class T>
auto operator<<(Corrade::Utility::Debug& debug, const Unit<Rad, T>& value) -> Corrade::Utility::Debug&
Debug output operator.
template<class T>
auto operator<<(Corrade::Utility::Debug& debug, const Unit<Deg, T>& value) -> Corrade::Utility::Debug&
Debug output operator.