OGRE
1.12.13
Object-Oriented Graphics Rendering Engine
|
#include <OgreCommon.h>
Public Member Functions | |
TRect () | |
TRect (T const &l, T const &t, T const &r, T const &b) | |
TRect (TRect const &o) | |
T | height () const |
TRect | intersect (const TRect &rhs) const |
Returns the intersection of the two rectangles. More... | |
bool | isNull () const |
TRect & | merge (const TRect &rhs) |
bool | operator!= (const TRect &rhs) const |
TRect & | operator= (TRect const &o) |
bool | operator== (const TRect &rhs) const |
void | setNull () |
T | width () const |
Public Attributes | |
T | bottom |
T | left |
T | right |
T | top |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Ogre::TRect< Real >::isNull().
|
inline |
Referenced by Ogre::TRect< Real >::isNull().
|
inline |
Referenced by Ogre::TRect< Real >::intersect(), and Ogre::TRect< Real >::merge().
|
inline |
|
inline |
|
inline |
Returns the intersection of the two rectangles.
Note that the rectangles extend downwards. I.e. a valid box will have "right > left" and "bottom > top".
rhs | Another rectangle. |
|
inline |
|
inline |
T Ogre::TRect< T >::left |
T Ogre::TRect< T >::top |
T Ogre::TRect< T >::right |
T Ogre::TRect< T >::bottom |