Ogre::TRect< T > Struct Template Reference
[General]

#include <OgreCommon.h>

List of all members.

Public Member Functions

 TRect ()
 TRect (T const &l, T const &t, T const &r, T const &b)
 TRect (TRect const &o)
TRectoperator= (TRect const &o)
width () const
height () const
bool isNull () const
void setNull ()
TRectmerge (const TRect &rhs)
TRect intersect (const TRect &rhs) const

Public Attributes

left
top
right
bottom

Detailed Description

template<typename T>
struct Ogre::TRect< T >

Definition at line 556 of file OgreCommon.h.


Constructor & Destructor Documentation

template<typename T>
Ogre::TRect< T >::TRect (  ) 

Definition at line 559 of file OgreCommon.h.

template<typename T>
Ogre::TRect< T >::TRect ( T const &  l,
T const &  t,
T const &  r,
T const &  b 
)

Definition at line 560 of file OgreCommon.h.

template<typename T>
Ogre::TRect< T >::TRect ( TRect< T > const &  o  ) 

Definition at line 564 of file OgreCommon.h.


Member Function Documentation

template<typename T>
T Ogre::TRect< T >::height (  )  const

Definition at line 580 of file OgreCommon.h.

Referenced by Ogre::TRect< Real >::isNull().

template<typename T>
TRect Ogre::TRect< T >::intersect ( const TRect< T > &  rhs  )  const

Definition at line 609 of file OgreCommon.h.

template<typename T>
bool Ogre::TRect< T >::isNull ( void   )  const

Definition at line 584 of file OgreCommon.h.

Referenced by Ogre::TRect< Real >::intersect(), and Ogre::TRect< Real >::merge().

template<typename T>
TRect& Ogre::TRect< T >::merge ( const TRect< T > &  rhs  ) 

Definition at line 592 of file OgreCommon.h.

template<typename T>
TRect& Ogre::TRect< T >::operator= ( TRect< T > const &  o  ) 

Definition at line 568 of file OgreCommon.h.

template<typename T>
void Ogre::TRect< T >::setNull (  ) 

Definition at line 588 of file OgreCommon.h.

template<typename T>
T Ogre::TRect< T >::width (  )  const

Definition at line 576 of file OgreCommon.h.

Referenced by Ogre::TRect< Real >::isNull().


Member Data Documentation

template<typename T>
T Ogre::TRect< T >::bottom
template<typename T>
T Ogre::TRect< T >::left
template<typename T>
T Ogre::TRect< T >::right
template<typename T>
T Ogre::TRect< T >::top

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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:37:14 2012