class
TRadian
template<class T>Wrapper class which indicates a given angle value is in radians.
Public
Constructors
TRadian<T>
TRadian<T>() = default
TRadian<T>
TRadian
TRadian() = default
TRadian
TRadian
TRadian
constexpr explicit TRadian(float radians)
TRadian
TRadian() = default
TRadian
TRadian
TRadian
constexpr explicit TRadian(double radians)
Methods
GetValueInDegrees
T GetValueInDegrees() const
Returns the value of the angle in degrees.
GetValueInRadians
constexpr T GetValueInRadians() const
Returns the value of the angle in radians.
GetValueInDegrees
float GetValueInDegrees() const
Returns the value of the angle in degrees.
GetValueInRadians
constexpr float GetValueInRadians() const
Returns the value of the angle in radians.
GetValueInDegrees
double GetValueInDegrees() const
Returns the value of the angle in degrees.
GetValueInRadians
constexpr double GetValueInRadians() const
Returns the value of the angle in radians.
Operators
operator=
operator+
operator-
TRadian<T> operator-() const
operator*
TRadian<T> operator*(T rhs) const
operator*=
TRadian<T> &operator*=(T rhs)
operator/
TRadian<T> operator/(T rhs) const
operator/=
TRadian<T> &operator/=(T rhs)
operator<
operator<=
operator==
operator!=
operator>=
operator>
operator=
operator+
operator-
operator*
operator*=
operator/
operator/=
operator<
operator<=
operator==
operator!=
operator>=
operator>
operator=
operator+
operator-
operator*
operator*=
operator/
operator/=
operator<
operator<=
operator==
operator!=
operator>=
operator>
Private
Fields
mRadians
T mRadians
mRadians
float mRadians
mRadians
double mRadians