#include <OgreMath.h>
Public Member Functions | |
Radian (Real r=0) | |
Radian (const Degree &d) | |
Radian & | operator= (const Real &f) |
Radian & | operator= (const Radian &r) |
Radian & | operator= (const Degree &d) |
Real | valueDegrees () const |
Real | valueRadians () const |
Real | valueAngleUnits () const |
const Radian & | operator+ () const |
Radian | operator+ (const Radian &r) const |
Radian | operator+ (const Degree &d) const |
Radian & | operator+= (const Radian &r) |
Radian & | operator+= (const Degree &d) |
Radian | operator- () const |
Radian | operator- (const Radian &r) const |
Radian | operator- (const Degree &d) const |
Radian & | operator-= (const Radian &r) |
Radian & | operator-= (const Degree &d) |
Radian | operator* (Real f) const |
Radian | operator* (const Radian &f) const |
Radian & | operator*= (Real f) |
Radian | operator/ (Real f) const |
Radian & | operator/= (Real f) |
bool | operator< (const Radian &r) const |
bool | operator<= (const Radian &r) const |
bool | operator== (const Radian &r) const |
bool | operator!= (const Radian &r) const |
bool | operator>= (const Radian &r) const |
bool | operator> (const Radian &r) const |
Private Attributes | |
Real | mRad |
Friends | |
_OgreExport friend std::ostream & | operator<< (std::ostream &o, const Radian &v) |
Definition at line 41 of file OgreMath.h.
Ogre::Radian::Radian | ( | Real | r = 0 |
) | [explicit] |
Definition at line 46 of file OgreMath.h.
Referenced by Ogre::Math::Abs(), Ogre::Math::ATan(), Ogre::Math::ATan2(), operator*(), operator+(), operator-(), operator/(), Ogre::Math::Sign(), and Ogre::Math::Sqrt().
Ogre::Radian::Radian | ( | const Degree & | d | ) |
Definition at line 155 of file OgreMath.h.
Real Ogre::Radian::valueDegrees | ( | ) | const |
Definition at line 585 of file OgreMath.h.
References mRad, and Ogre::Math::RadiansToDegrees().
Referenced by Ogre::Degree::operator+(), Ogre::Degree::operator+=(), Ogre::Degree::operator-(), Ogre::Degree::operator-=(), and Ogre::Degree::operator=().
Real Ogre::Radian::valueRadians | ( | ) | const |
Definition at line 53 of file OgreMath.h.
References mRad.
Referenced by Ogre::Math::Abs(), Ogre::Math::Cos(), Ogre::Vector3::directionEquals(), Ogre::operator*(), Ogre::operator/(), Ogre::AnimableValue::setAsBaseValue(), Ogre::Math::Sign(), Ogre::Math::Sin(), Ogre::Math::Sqrt(), and Ogre::Math::Tan().
Real Ogre::Radian::valueAngleUnits | ( | ) | const |
Definition at line 590 of file OgreMath.h.
References mRad, and Ogre::Math::RadiansToAngleUnits().
Referenced by Ogre::StringConverter::toString().
const Radian& Ogre::Radian::operator+ | ( | ) | const |
Definition at line 56 of file OgreMath.h.
Definition at line 160 of file OgreMath.h.
References mRad, Radian(), and Ogre::Degree::valueRadians().
Radian Ogre::Radian::operator- | ( | ) | const |
Definition at line 167 of file OgreMath.h.
References mRad, Radian(), and Ogre::Degree::valueRadians().
bool Ogre::Radian::operator< | ( | const Radian & | r | ) | const |
bool Ogre::Radian::operator<= | ( | const Radian & | r | ) | const |
bool Ogre::Radian::operator== | ( | const Radian & | r | ) | const |
bool Ogre::Radian::operator!= | ( | const Radian & | r | ) | const |
bool Ogre::Radian::operator>= | ( | const Radian & | r | ) | const |
bool Ogre::Radian::operator> | ( | const Radian & | r | ) | const |
_OgreExport friend std::ostream& operator<< | ( | std::ostream & | o, | |
const Radian & | v | |||
) | [friend] |
Definition at line 80 of file OgreMath.h.
Real Ogre::Radian::mRad [private] |
Definition at line 43 of file OgreMath.h.
Referenced by operator!=(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<(), operator<=(), operator=(), operator==(), operator>(), operator>=(), valueAngleUnits(), valueDegrees(), and valueRadians().
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:04:06 2009