#include <OgreMath.h>
Public Member Functions | |
| Degree (Real d=0) | |
| Degree (const Radian &r) | |
| Degree & | operator= (const Real &f) |
| Degree & | operator= (const Degree &d) |
| Degree & | operator= (const Radian &r) |
| Real | valueDegrees () const |
| Real | valueRadians () const |
| Real | valueAngleUnits () const |
| const Degree & | operator+ () const |
| Degree | operator+ (const Degree &d) const |
| Degree | operator+ (const Radian &r) const |
| Degree & | operator+= (const Degree &d) |
| Degree & | operator+= (const Radian &r) |
| Degree | operator- () const |
| Degree | operator- (const Degree &d) const |
| Degree | operator- (const Radian &r) const |
| Degree & | operator-= (const Degree &d) |
| Degree & | operator-= (const Radian &r) |
| Degree | operator * (Real f) const |
| Degree | operator * (const Degree &f) const |
| Degree & | operator *= (Real f) |
| Degree | operator/ (Real f) const |
| Degree & | operator/= (Real f) |
| bool | operator< (const Degree &d) const |
| bool | operator<= (const Degree &d) const |
| bool | operator== (const Degree &d) const |
| bool | operator!= (const Degree &d) const |
| bool | operator>= (const Degree &d) const |
| bool | operator> (const Degree &d) const |
Private Attributes | |
| Real | mDeg |
Friends | |
| _OgreExport friend std::ostream & | operator<< (std::ostream &o, const Degree &v) |
Definition at line 97 of file OgreMath.h.
| Ogre::Degree::Degree | ( | Real | d = 0 |
) | [explicit] |
Definition at line 102 of file OgreMath.h.
Referenced by operator *(), operator+(), operator-(), and operator/().
| Ogre::Degree::Degree | ( | const Radian & | r | ) |
Definition at line 103 of file OgreMath.h.
| Real Ogre::Degree::valueDegrees | ( | ) | const |
Definition at line 108 of file OgreMath.h.
References mDeg.
Referenced by Ogre::Math::Abs(), Ogre::operator *(), Ogre::operator/(), Ogre::Math::Sign(), and Ogre::Math::Sqrt().
| const Degree& Ogre::Degree::operator+ | ( | ) | const |
Definition at line 112 of file OgreMath.h.
Definition at line 114 of file OgreMath.h.
References Degree(), mDeg, and Ogre::Radian::valueDegrees().
| Degree Ogre::Degree::operator- | ( | ) | const |
Definition at line 119 of file OgreMath.h.
References Degree(), mDeg, and Ogre::Radian::valueDegrees().
| bool Ogre::Degree::operator< | ( | const Degree & | d | ) | const |
| bool Ogre::Degree::operator<= | ( | const Degree & | d | ) | const |
| bool Ogre::Degree::operator== | ( | const Degree & | d | ) | const |
| bool Ogre::Degree::operator!= | ( | const Degree & | d | ) | const |
| bool Ogre::Degree::operator>= | ( | const Degree & | d | ) | const |
| bool Ogre::Degree::operator> | ( | const Degree & | d | ) | const |
| _OgreExport friend std::ostream& operator<< | ( | std::ostream & | o, | |
| const Degree & | v | |||
| ) | [friend] |
Definition at line 136 of file OgreMath.h.
Real Ogre::Degree::mDeg [private] |
Definition at line 99 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 Tue Jan 5 12:06:20 2010