00001
00002
00003
00004
00005
00006 #ifndef BOX_H
00007 #define BOX_H
00008
00009 #include "geometry/Hexahedron.h"
00010
00016 class Box: public Hexahedron
00017 {
00018
00019 public:
00021 Box( double length, double width, double height );
00022
00024 void resize( double length, double width, double height );
00025
00026 double length()const;
00027 double width() const;
00028 double height()const;
00029
00030
00031 const Vector& xhat()const;
00032 const Vector& yhat()const;
00033 const Vector& zhat()const;
00034
00035
00036 private:
00037 void constructSurfaces( double length, double width, double height );
00038
00039 };
00040
00041 #endif //BOX_H
00042