Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <Rect.hpp>
Public Member Functions | |
| virtual const char * | className () |
| Rect (const Rect &other) | |
| Rect () | |
| Rect (T x, T y, T width, T height) | |
| T | x () const |
| T | y () const |
| T | width () const |
| T | height () const |
| T | bottom () const |
| T | left () const |
| T | top () const |
| T | right () const |
| void | setX (T x) |
| void | setY (T y) |
| void | setWidth (T w) |
| void | setHeight (T h) |
| bool | isNull () const |
| bool | isPoint () const |
| Rect | intersected (const Rect &other) const |
| Rect | united (const Rect &other) const |
| bool | operator< (const Rect &other) const |
| Defines a sort of lexicographic sorting that make possible the use of the Rect class with STL containers like std::set, std::map etc. | |
Protected Attributes | |
| T | mX |
| T | mY |
| T | mWidth |
| T | mHeight |
| virtual const char* vl::Rect< T >::className | ( | ) | [inline, virtual] |
| T vl::Rect< T >::x | ( | ) | const [inline] |
| T vl::Rect< T >::y | ( | ) | const [inline] |
| T vl::Rect< T >::width | ( | ) | const [inline] |
| T vl::Rect< T >::height | ( | ) | const [inline] |
| T vl::Rect< T >::bottom | ( | ) | const [inline] |
| T vl::Rect< T >::left | ( | ) | const [inline] |
| T vl::Rect< T >::top | ( | ) | const [inline] |
| T vl::Rect< T >::right | ( | ) | const [inline] |
| void vl::Rect< T >::setX | ( | T | x | ) | [inline] |
| void vl::Rect< T >::setY | ( | T | y | ) | [inline] |
| void vl::Rect< T >::setWidth | ( | T | w | ) | [inline] |
| void vl::Rect< T >::setHeight | ( | T | h | ) | [inline] |
| bool vl::Rect< T >::isNull | ( | ) | const [inline] |
| bool vl::Rect< T >::isPoint | ( | ) | const [inline] |
Defines a sort of lexicographic sorting that make possible the use of the Rect class with STL containers like std::set, std::map etc.