OGRE  13.6
Object-Oriented Graphics Rendering Engine
Ogre::Radian Class Reference

Wrapper class which indicates a given angle value is in Radians. More...

#include <OgreMath.h>

Public Member Functions

 Radian (const Degree &d)
 
 Radian (const Ogre::Radian &rhs)
 
 Radian (float r=0)
 
bool operator!= (const Radian &r) const
 
Radian operator* (const Radian &f) const
 
Radian operator* (float f) const
 
Radianoperator*= (float f)
 
const Radianoperator+ () const
 
Radian operator+ (const Degree &d) const
 
Radian operator+ (const Radian &r) const
 
Radianoperator+= (const Degree &d)
 
Radianoperator+= (const Radian &r)
 
Radian operator- () const
 
Radian operator- (const Degree &d) const
 
Radian operator- (const Radian &r) const
 
Radianoperator-= (const Degree &d)
 
Radianoperator-= (const Radian &r)
 
Radian operator/ (float f) const
 
Radianoperator/= (float f)
 
bool operator< (const Radian &r) const
 
bool operator<= (const Radian &r) const
 
Radianoperator= (const Degree &d)
 
Radianoperator= (const float &f)
 
Radianoperator= (const Radian &r)
 
bool operator== (const Radian &r) const
 
bool operator> (const Radian &r) const
 
bool operator>= (const Radian &r) const
 
float valueAngleUnits () const
 
float valueDegrees () const
 
float valueRadians () const
 

Detailed Description

Wrapper class which indicates a given angle value is in Radians.

Remarks
Radian values are interchangeable with Degree values, and conversions will be done automatically between them.

Constructor & Destructor Documentation

◆ Radian() [1/2]

Ogre::Radian::Radian ( float  r = 0)
inlineexplicit

◆ Radian() [2/2]

Ogre::Radian::Radian ( const Ogre::Radian rhs)
inline

Member Function Documentation

◆ operator=() [1/2]

Radian& Ogre::Radian::operator= ( const float &  f)
inline

◆ operator=() [2/2]

Radian& Ogre::Radian::operator= ( const Radian r)
inline

◆ valueRadians()

◆ operator+() [1/2]

const Radian& Ogre::Radian::operator+ ( ) const
inline

◆ operator+() [2/2]

Radian Ogre::Radian::operator+ ( const Radian r) const
inline

References Radian().

◆ operator+=()

Radian& Ogre::Radian::operator+= ( const Radian r)
inline

◆ operator-() [1/2]

Radian Ogre::Radian::operator- ( ) const
inline

References Radian().

◆ operator-() [2/2]

Radian Ogre::Radian::operator- ( const Radian r) const
inline

References Radian().

◆ operator-=()

Radian& Ogre::Radian::operator-= ( const Radian r)
inline

◆ operator*() [1/2]

Radian Ogre::Radian::operator* ( float  f) const
inline

References Radian().

◆ operator*() [2/2]

Radian Ogre::Radian::operator* ( const Radian f) const
inline

References Radian().

◆ operator*=()

Radian& Ogre::Radian::operator*= ( float  f)
inline

◆ operator/()

Radian Ogre::Radian::operator/ ( float  f) const
inline

References Radian().

◆ operator/=()

Radian& Ogre::Radian::operator/= ( float  f)
inline

◆ operator<()

bool Ogre::Radian::operator< ( const Radian r) const
inline

◆ operator<=()

bool Ogre::Radian::operator<= ( const Radian r) const
inline

◆ operator==()

bool Ogre::Radian::operator== ( const Radian r) const
inline

◆ operator!=()

bool Ogre::Radian::operator!= ( const Radian r) const
inline

◆ operator>=()

bool Ogre::Radian::operator>= ( const Radian r) const
inline

◆ operator>()

bool Ogre::Radian::operator> ( const Radian r) const
inline

The documentation for this class was generated from the following file: