BoundingBox.cc

Go to the documentation of this file.
00001 
00005 #include "BoundingBox.h"
00006 #include <float.h>
00007 
00008 BoundingBox::BoundingBox()
00009 {
00010   min = Point(DBL_MAX, DBL_MAX, DBL_MAX);
00011   max = Point(-DBL_MAX, -DBL_MAX, -DBL_MAX);
00012 }
00013 
00014 BoundingBox::~BoundingBox()
00015 {
00016 }
00017 
00018 void BoundingBox::extend(const Point& p)
00019 {
00020   min = Min(p, min);
00021   max = Max(p, max);
00022 }

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