BoundingBox Class Reference

A bounding box. More...

#include <BoundingBox.h>


Public Member Functions

 BoundingBox ()
 ~BoundingBox ()
void reset ()
void extend (const Point &)
Point getMin () const
Point getMax () const


Detailed Description

A bounding box.

Construction creates a degenerate bounding box which gets expanded

Definition at line 17 of file BoundingBox.h.


Constructor & Destructor Documentation

BoundingBox  ) 
 

Definition at line 8 of file BoundingBox.cc.

~BoundingBox  ) 
 

Definition at line 14 of file BoundingBox.cc.


Member Function Documentation

void extend const Point &   ) 
 

Definition at line 18 of file BoundingBox.cc.

References Max(), and Min().

Referenced by Triangle::getBounds(), Sphere::getBounds(), Ring::getBounds(), and Box::getBounds().

Point getMax  )  const [inline]
 

Definition at line 28 of file BoundingBox.h.

Point getMin  )  const [inline]
 

Definition at line 25 of file BoundingBox.h.

void reset  ) 
 


The documentation for this class was generated from the following files:
Generated on Tue Jan 29 21:34:55 2008 for specter by  doxygen 1.4.6