00001 #ifndef DDD_DDI_TRUNCTUBS_H 00002 #define DDD_DDI_TRUNCTUBS_H 00003 00004 #include <iostream> 00005 #include "Solid.h" 00006 00007 namespace DDI { 00008 00009 class TruncTubs : public Solid 00010 { 00011 public: 00012 TruncTubs(double zHalf, 00013 double rIn, double rOut, 00014 double startPhi, 00015 double deltaPhi, 00016 double cutAtStart, 00017 double cutAtDelta, 00018 bool cutInside); 00019 00020 double volume() { return -1; } 00021 00022 void stream(std::ostream & os) const; 00023 }; 00024 } 00025 00026 #endif 00027