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

BBOX< P, V > Class Template Reference

#include <bbox.H>

List of all members.

Public Methods

 BBOX ()
 BBOX (const P &l, const P &h)
 BBOX (const BBOX< P, V > &b)
void reset ()
bool valid () const
const P & min () const
const P & max () const
center () const
dim () const
bool overlaps (const BBOX< P, V > &bbox) const
BBOX< P, V > & update (const P &p)
bool contains (const P &p) const
BBOX< P, V > & operator+= (const BBOX< P, V > &b)
bool operator== (const BBOX< P, V > &bb) const

Protected Attributes

bool _valid
_min
_max

Friends

ostream & operator<< (ostream &os, const BBOX< P, V > &b)

template<class P, class V>
class BBOX< P, V >


Constructor & Destructor Documentation

template<class P, class V>
BBOX< P, V >::BBOX   [inline]
 

template<class P, class V>
BBOX< P, V >::BBOX const P &    l,
const P &    h
[inline]
 

template<class P, class V>
BBOX< P, V >::BBOX const BBOX< P, V > &    b [inline]
 


Member Function Documentation

template<class P, class V>
P BBOX< P, V >::center   const [inline]
 

template<class P, class V>
bool BBOX< P, V >::contains const P &    p const [inline]
 

template<class P, class V>
V BBOX< P, V >::dim   const [inline]
 

template<class P, class V>
const P& BBOX< P, V >::max   const [inline]
 

template<class P, class V>
const P& BBOX< P, V >::min   const [inline]
 

template<class P, class V>
BBOX<P,V>& BBOX< P, V >::operator+= const BBOX< P, V > &    b [inline]
 

template<class P, class V>
bool BBOX< P, V >::operator== const BBOX< P, V > &    bb const [inline]
 

template<class P, class V>
bool BBOX< P, V >::overlaps const BBOX< P, V > &    bbox const [inline]
 

template<class P, class V>
void BBOX< P, V >::reset   [inline]
 

template<class P, class V>
BBOX<P,V>& BBOX< P, V >::update const P &    p [inline]
 

template<class P, class V>
bool BBOX< P, V >::valid   const [inline]
 


Friends And Related Function Documentation

template<class P, class V>
ostream& operator<< ostream &    os,
const BBOX< P, V > &    b
[friend]
 


Member Data Documentation

template<class P, class V>
P BBOX< P, V >::_max [protected]
 

template<class P, class V>
P BBOX< P, V >::_min [protected]
 

template<class P, class V>
bool BBOX< P, V >::_valid [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 16:25:59 2003 for gluebase by doxygen1.2.18