Ogre::TRect< T > Struct Template Reference
Core » General

`#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
bool | isNull () const
TRect & | merge (const TRect &rhs)
TRect & | operator= (TRect const &o)
void | setNull ()
T | width () const

## Public Attributes

T | bottom
T | left
T | right
T | 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.

## 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 | ( | void |  | ) | const

Definition at line 583 of file OgreCommon.h.

Referenced by Ogre::TRect< Real >::intersect(), and Ogre::TRect< Real >::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.

## Member Data Documentation

## bottom

template<typename T>

T Ogre::TRect< T >::bottom

Definition at line 557 of file OgreCommon.h.

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

## left

template<typename T>

T Ogre::TRect< T >::left

Definition at line 557 of file OgreCommon.h.

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

## right

template<typename T>

T Ogre::TRect< T >::right

Definition at line 557 of file OgreCommon.h.

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

## top

template<typename T>

T Ogre::TRect< T >::top

Definition at line 557 of file OgreCommon.h.

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

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

- OgreCommon.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.