OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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 (Real r=0)
 
bool operator!= (const Radian &r) const
 
Radian operator* (const Radian &f) const
 
Radian operator* (Real f) const
 
Radianoperator*= (Real 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/ (Real f) const
 
Radianoperator/= (Real f)
 
bool operator< (const Radian &r) const
 
bool operator<= (const Radian &r) const
 
Radianoperator= (const Degree &d)
 
Radianoperator= (const Radian &r)
 
Radianoperator= (const Real &f)
 
bool operator== (const Radian &r) const
 
bool operator> (const Radian &r) const
 
bool operator>= (const Radian &r) const
 
Real valueAngleUnits () const
 
Real valueDegrees () const
 
Real valueRadians () const
 

Friends

_OgreExport friend std::ostream & operator<< (std::ostream &o, const Radian &v)
 

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()

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

Member Function Documentation

◆ operator!=()

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

◆ operator*() [1/2]

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

◆ operator*() [2/2]

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

◆ operator*=()

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

◆ operator+() [1/2]

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

◆ operator+() [2/2]

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

◆ operator+=()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator-=()

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

◆ operator/()

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

◆ operator/=()

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

◆ operator<()

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

◆ operator<=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

Radian & Ogre::Radian::operator= ( const Real 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

◆ valueRadians()

Real Ogre::Radian::valueRadians ( ) const
inline

Referenced by Ogre::operator*(), and Ogre::operator/().

Friends And Related Symbol Documentation

◆ operator<<

_OgreExport friend std::ostream & operator<< ( std::ostream &  o,
const Radian v 
)
friend

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