Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ixion::region Class Template Reference

#include <ixlib_geometry.hh>

List of all members.

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

template<class T> class ixion::region


Member Typedef Documentation

template<class T>
typedef vector< rectangle<T> >::const_iterator ixion::region<T>::const_iterator
 

Definition at line 290 of file ixlib_geometry.hh.

template<class T>
typedef vector< rectangle<T> >::iterator ixion::region<T>::iterator
 

Definition at line 289 of file ixlib_geometry.hh.


Member Function Documentation

template<class T>
void ixion::region<T>::add ( rectangle< T > const & rect )
 

Referenced by operator+=().

template<class T>
const_iterator ixion::region<T>::begin ( ) const [inline]
 

Definition at line 294 of file ixlib_geometry.hh.

template<class T>
iterator ixion::region<T>::begin ( ) [inline]
 

Definition at line 292 of file ixlib_geometry.hh.

template<class T>
void ixion::region<T>::clear ( ) [inline]
 

Definition at line 318 of file ixlib_geometry.hh.

template<class T>
void ixion::region<T>::deleteEmptyRectangles ( ) [protected]
 

template<class T>
bool ixion::region<T>::doesContain ( coord_vector< T > const & point ) const
 

template<class T>
bool ixion::region<T>::doesContain ( T x,
T y ) const [inline]
 

Definition at line 311 of file ixlib_geometry.hh.

template<class T>
bool ixion::region<T>::doesIntersect ( rectangle< T > const & rect ) const
 

template<class T>
const_iterator ixion::region<T>::end ( ) const [inline]
 

Definition at line 298 of file ixlib_geometry.hh.

template<class T>
iterator ixion::region<T>::end ( ) [inline]
 

Definition at line 296 of file ixlib_geometry.hh.

template<class T>
void ixion::region<T>::intersect ( rectangle< T > const & rect )
 

Referenced by operator *=().

template<class T>
bool ixion::region<T>::isEmpty ( ) const [inline]
 

Definition at line 315 of file ixlib_geometry.hh.

template<class T>
void ixion::region<T>::operator *= ( rectangle< T > const & rect ) [inline]
 

Definition at line 306 of file ixlib_geometry.hh.

template<class T>
void ixion::region<T>::operator+= ( rectangle< T > const & rect ) [inline]
 

Definition at line 304 of file ixlib_geometry.hh.

template<class T>
void ixion::region<T>::operator-= ( rectangle< T > const & rect ) [inline]
 

Definition at line 308 of file ixlib_geometry.hh.

template<class T>
void ixion::region<T>::subtract ( rectangle< T > const & rect )
 

Referenced by operator-=().


Member Data Documentation

template<class T>
vector< rectangle<T> > ixion::region<T>::Rects [protected]
 

Definition at line 286 of file ixlib_geometry.hh.


The documentation for this class was generated from the following file:
Generated at Tue Apr 17 18:29:46 2001 for ixlib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001