00001
00002
00003
00004 #ifndef __TRD2_H
00005 #define __TRD2_H
00006
00007 #include "geometry/Hexahedron.h"
00012 class Trd2: public Hexahedron
00013 {
00014
00015 public:
00016 Trd2( double sl, double ll, double sw, double lw, double h );
00017
00018
00019 double shortLength() const;
00020 double longLength() const ;
00021 double longWidth() const;
00022 double height() const;
00023 double shortWidth() const;
00024
00025
00026 virtual const char *nameOf() const { return "Trd2"; }
00027 virtual void printOn( std::ostream& os = std::cout ) const;
00028 };
00029
00030 #endif
00031