OGRE  1.9.0
Ogre::TRect< T > Struct Template Reference

#include <OgreCommon.h>

Public Member Functions

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

Public Attributes

bottom
 
left
 
right
 
top
 

Detailed Description

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

Definition at line 555 of file OgreCommon.h.

Constructor & Destructor Documentation

◆ TRect() [1/3]

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

Definition at line 558 of file OgreCommon.h.

◆ TRect() [2/3]

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

Definition at line 559 of file OgreCommon.h.

◆ TRect() [3/3]

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

Definition at line 563 of file OgreCommon.h.

Member Function Documentation

◆ height()

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

Definition at line 579 of file OgreCommon.h.

References Ogre::TRect< T >::bottom, and Ogre::TRect< T >::top.

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

◆ intersect()

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

◆ isNull()

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

◆ merge()

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

◆ operator=()

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

◆ setNull()

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

◆ width()

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

Definition at line 575 of file OgreCommon.h.

References Ogre::TRect< T >::left, and Ogre::TRect< T >::right.

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

Member Data Documentation

◆ bottom

◆ left

◆ right

◆ top


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