#include <ixlib_geometry.hh>
Public Types | |
typedef std::vector< rectangle< T> >::iterator | iterator |
typedef std::vector< rectangle< T> >::const_iterator | const_iterator |
Public Methods | |
TSize | size () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | add (rectangle< T > const &rect) |
void | intersect (rectangle< T > const &rect) |
void | subtract (rectangle< T > const &rect) |
void | operator+= (rectangle< T > const &rect) |
void | operator *= (rectangle< T > const &rect) |
void | operator-= (rectangle< T > const &rect) |
bool | doesContain (T x, T y) const |
bool | doesContain (coord_vector< T > const &point) const |
bool | doesIntersect (rectangle< T > const &rect) const |
bool | isEmpty () const |
void | clear () |
Protected Methods | |
void | deleteEmptyRectangles () |
Protected Attributes | |
std::vector< rectangle<T> > | Rects |
|
Definition at line 318 of file ixlib_geometry.hh. |
|
Definition at line 317 of file ixlib_geometry.hh. |
|
Referenced by operator+=(). |
|
Definition at line 326 of file ixlib_geometry.hh. |
|
Definition at line 323 of file ixlib_geometry.hh. |
|
Definition at line 358 of file ixlib_geometry.hh. |
|
|
|
|
|
Definition at line 349 of file ixlib_geometry.hh. |
|
|
|
Definition at line 332 of file ixlib_geometry.hh. |
|
Definition at line 329 of file ixlib_geometry.hh. |
|
Referenced by operator *=(). |
|
Definition at line 354 of file ixlib_geometry.hh. |
|
Definition at line 342 of file ixlib_geometry.hh. |
|
Definition at line 339 of file ixlib_geometry.hh. |
|
Definition at line 345 of file ixlib_geometry.hh. |
|
Definition at line 320 of file ixlib_geometry.hh. |
|
Referenced by operator-=(). |
|
Definition at line 314 of file ixlib_geometry.hh. |