Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Trap.h

Go to the documentation of this file.
00001 // $Id: Trap.h,v 1.2 2000/01/18 00:42:10 burnett Exp $
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         // functions that should return the original parameters   
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 

Generated at Mon Nov 26 18:18:22 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000