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.

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

◆ intersect()

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

Definition at line 608 of file OgreCommon.h.

◆ isNull()

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

Definition at line 583 of file OgreCommon.h.

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

◆ merge()

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

Definition at line 591 of file OgreCommon.h.

◆ operator=()

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

Definition at line 567 of file OgreCommon.h.

◆ setNull()

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

Definition at line 587 of file OgreCommon.h.

◆ width()

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

Definition at line 575 of file OgreCommon.h.

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

Member Data Documentation

◆ bottom

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

◆ left

◆ right

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

◆ 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.