00001 #ifndef GLUE_MLIB_WBBOX_H 00002 #define GLUE_MLIB_WBBOX_H 00003 00004 #include "mlib/points.H" 00005 #include "mlib/bbox.H" 00006 00007 typedef const class Wbbox cWbbox; 00008 class Wbbox : public BBOX<Wpt,Wvec> { 00009 public: 00010 Wbbox() : BBOX<Wpt, Wvec>() {} 00011 Wbbox(cWpt &p1, cWpt &p2) : BBOX<Wpt, Wvec>(p1, p2) {} 00012 Wbbox(cWbbox &b) : BBOX<Wpt, Wvec>(b) {} 00013 00014 bool intersects(cWpt &from, cWvec &atv, cWtransf &m = Identity) const; 00015 }; 00016 typedef const Wbbox cWbbox; 00017 #endif