BoundingBox.h

Go to the documentation of this file.
00001 
00005 #ifndef BoundingBox_h
00006 #define BoundingBox_h
00007 
00008 #include "Point.h"
00009 
00017 class BoundingBox {
00018  public:
00019   BoundingBox();
00020   ~BoundingBox();
00021 
00022   void reset();
00023   void extend(const Point&);
00024 
00025   Point getMin() const {
00026     return min;
00027   }
00028   Point getMax() const {
00029     return max;
00030   }
00031  private:
00032   Point min, max;
00033 };
00034 
00035 #endif

Generated on Tue Jan 29 21:34:53 2008 for specter by  doxygen 1.4.6