#include <ixlib_geometry.hh>
Public Types | |
typedef vector< rectangle< T> >::iterator | iterator |
typedef vector< rectangle< T> >::const_iterator | const_iterator |
Public Methods | |
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 | |
vector< rectangle<T> > | Rects |
|
Definition at line 290 of file ixlib_geometry.hh. |
|
Definition at line 289 of file ixlib_geometry.hh. |
|
Referenced by operator+=(). |
|
Definition at line 294 of file ixlib_geometry.hh. |
|
Definition at line 292 of file ixlib_geometry.hh. |
|
Definition at line 318 of file ixlib_geometry.hh. |
|
|
|
|
|
Definition at line 311 of file ixlib_geometry.hh. |
|
|
|
Definition at line 298 of file ixlib_geometry.hh. |
|
Definition at line 296 of file ixlib_geometry.hh. |
|
Referenced by operator *=(). |
|
Definition at line 315 of file ixlib_geometry.hh. |
|
Definition at line 306 of file ixlib_geometry.hh. |
|
Definition at line 304 of file ixlib_geometry.hh. |
|
Definition at line 308 of file ixlib_geometry.hh. |
|
Referenced by operator-=(). |
|
Definition at line 286 of file ixlib_geometry.hh. |