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 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

template<class T> class ixion::region


Member Typedef Documentation

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

Definition at line 318 of file ixlib_geometry.hh.

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

Definition at line 317 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 326 of file ixlib_geometry.hh.

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

Definition at line 323 of file ixlib_geometry.hh.

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

Definition at line 358 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 349 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 332 of file ixlib_geometry.hh.

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

Definition at line 329 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 354 of file ixlib_geometry.hh.

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

Definition at line 342 of file ixlib_geometry.hh.

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

Definition at line 339 of file ixlib_geometry.hh.

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

Definition at line 345 of file ixlib_geometry.hh.

template<class T>
TSize ixion::region<T>::size ( ) const [inline]
 

Definition at line 320 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>
std::vector< rectangle<T> > ixion::region<T>::Rects [protected]
 

Definition at line 314 of file ixlib_geometry.hh.


The documentation for this class was generated from the following file:
Generated at Fri Jun 29 18:49:19 2001 for ixlib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001