version 3.3

VRS::Cell< DIM > Class Template Reference

#include <vrs/container/spacetree.h>

List of all members.

Public Member Functions

 Cell ()
 Cell (const Point< DIM > &pmin, const Point< DIM > &pmax)
void setCell (const Point< DIM > &pmin, const Point< DIM > &pmax)
double getExtend (UINT index) const
Point< DIM > getExtend () const
const Point< DIM > & getMinPoint () const
const Point< DIM > & getMaxPoint () const
void setExtend (UINT index, double w)
void setExtend (const Point< DIM > &p)
void setMinPoint (const Point< DIM > &p)
void setMaxPoint (const Point< DIM > &p)
void setPosition (const Point< DIM > &p)
Point< DIM > getMidpoint () const
const Celloperator= (const Cell &other)
bool isContainedIn (const Cell &cell) const
bool intersects (const Cell &cell) const
bool empty () const


Detailed Description

template<UINT DIM>
class VRS::Cell< DIM >

Template class for n-dimensional space-tree cells. A cell is an n-dimensional half open cuboid. (for example a rect for n=2, whose boundaries with greater x respectively y values do not belong to the rect)

Constructor & Destructor Documentation

template<UINT DIM>
VRS::Cell< DIM >::Cell (  ) 

template<UINT DIM>
VRS::Cell< DIM >::Cell ( const Point< DIM > &  pmin,
const Point< DIM > &  pmax 
)


Member Function Documentation

template<UINT DIM>
void VRS::Cell< DIM >::setCell ( const Point< DIM > &  pmin,
const Point< DIM > &  pmax 
)

template<UINT DIM>
double VRS::Cell< DIM >::getExtend ( UINT  index  )  const

template<UINT DIM>
Point<DIM> VRS::Cell< DIM >::getExtend (  )  const

template<UINT DIM>
const Point<DIM>& VRS::Cell< DIM >::getMinPoint (  )  const [inline]

template<UINT DIM>
const Point<DIM>& VRS::Cell< DIM >::getMaxPoint (  )  const [inline]

template<UINT DIM>
void VRS::Cell< DIM >::setExtend ( UINT  index,
double  w 
)

template<UINT DIM>
void VRS::Cell< DIM >::setExtend ( const Point< DIM > &  p  ) 

template<UINT DIM>
void VRS::Cell< DIM >::setMinPoint ( const Point< DIM > &  p  )  [inline]

template<UINT DIM>
void VRS::Cell< DIM >::setMaxPoint ( const Point< DIM > &  p  )  [inline]

template<UINT DIM>
void VRS::Cell< DIM >::setPosition ( const Point< DIM > &  p  ) 

template<UINT DIM>
Point<DIM> VRS::Cell< DIM >::getMidpoint (  )  const

template<UINT DIM>
const Cell& VRS::Cell< DIM >::operator= ( const Cell< DIM > &  other  ) 

template<UINT DIM>
bool VRS::Cell< DIM >::isContainedIn ( const Cell< DIM > &  cell  )  const

template<UINT DIM>
bool VRS::Cell< DIM >::intersects ( const Cell< DIM > &  cell  )  const

template<UINT DIM>
bool VRS::Cell< DIM >::empty (  )  const


The documentation for this class was generated from the following file:

Generated on Mon May 21 06:00:17 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact