OGRE  1.10.12 Object-Oriented Graphics Rendering Engine

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

#include <OgreMath.h>

## Public Member Functions

Radian (const Degree &d)

bool operator!= (const Radian &r) const

Radian operator* (Real f) const

const Radianoperator+ () const

Radian operator+ (const Degree &d) const

Radianoperator+= (const Degree &d)

Radian operator- () const

Radian operator- (const Degree &d) const

Radianoperator-= (const Degree &d)

Radian operator/ (Real f) const

bool operator< (const Radian &r) const

bool operator<= (const Radian &r) const

Radianoperator= (const Real &f)

Radianoperator= (const Degree &d)

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

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

## ◆ operator=() [1/2]

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

Referenced by operator=().

## ◆ operator=() [2/2]

inline

References operator=(), and valueDegrees().

inline

## ◆ operator+() [1/2]

inline

Referenced by operator+().

## ◆ operator+() [2/2]

inline

References operator+(), and Radian().

inline

## ◆ operator-() [1/2]

inline

Referenced by operator-().

## ◆ operator-() [2/2]

inline

References operator-(), and Radian().

inline

## ◆ operator*() [1/2]

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

inline

inline

## ◆ operator/()

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

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

## ◆ operator<<

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

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