00001
00002
00003
00004
00005 #ifndef __TRAP_H
00006 #define __TRAP_H
00007
00008 #include "geometry/Hexahedron.h"
00009
00046 class Trap: public Hexahedron
00047 {
00048
00049 public:
00050 Trap( double h, double th,
00051 double w1, double bl1, double tl1, double th1,
00052 double w2, double bl2, double tl2 );
00053
00054
00055 double height() const ;
00056 double theta() const;
00057 double width1() const;
00058 double lengthLow1() const;
00059 double lengthHigh1() const ;
00060 double theta1() const ;
00061 double width2() const ;
00062 double lengthLow2() const ;
00063 double lengthHigh2() const ;
00064
00065
00066 virtual const char *nameOf() const { return "Trap"; }
00067 virtual void printOn( std::ostream& os = std::cout ) const;
00068
00069 };
00070
00071 #endif
00072