#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 | contains (T x, T y) const |
bool | contains (coord_vector< T > const &point) const |
bool | intersects (rectangle< T > const &rect) const |
bool | empty () const |
void | clear () |
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 |
| |
Protected Methods | |
void | deleteEmptyRectangles () |
Protected Attributes | |
std::vector< rectangle< T > > | Rects |
|
Definition at line 350 of file ixlib_geometry.hh. |
|
Definition at line 349 of file ixlib_geometry.hh. |
|
Referenced by operator+=().
|
|
Definition at line 358 of file ixlib_geometry.hh. |
|
Definition at line 355 of file ixlib_geometry.hh. |
|
Definition at line 390 of file ixlib_geometry.hh. |
|
|
|
Definition at line 381 of file ixlib_geometry.hh. Referenced by doesContain().
|
|
|
|
Definition at line 399 of file ixlib_geometry.hh. |
|
Definition at line 395 of file ixlib_geometry.hh. |
|
Definition at line 403 of file ixlib_geometry.hh. |
|
Definition at line 386 of file ixlib_geometry.hh. Referenced by isEmpty().
|
|
Definition at line 364 of file ixlib_geometry.hh. |
|
Definition at line 361 of file ixlib_geometry.hh. |
|
Referenced by operator *=().
|
|
Referenced by doesIntersect().
|
|
Definition at line 407 of file ixlib_geometry.hh. |
|
Definition at line 374 of file ixlib_geometry.hh. |
|
Definition at line 371 of file ixlib_geometry.hh. |
|
Definition at line 377 of file ixlib_geometry.hh. |
|
Definition at line 352 of file ixlib_geometry.hh. |
|
Referenced by operator-=().
|
|
Definition at line 346 of file ixlib_geometry.hh. |