Go to the documentation of this file.00001 #ifndef DDI_Polyhedra_h
00002 #define DDI_Polyhedra_h
00003
00004 #include "Solid.h"
00005
00006 namespace DDI {
00007
00008 class Polyhedra : public Solid
00009 {
00010 public:
00011 Polyhedra( int sides, double startPhi, double deltaPhi,
00012 const std::vector<double> & z,
00013 const std::vector<double> & rmin,
00014 const std::vector<double> & rmax);
00015
00016 Polyhedra( int sides, double startPhi, double deltaPhi,
00017 const std::vector<double> & z,
00018 const std::vector<double> & r);
00019
00020 double volume() const;
00021
00022 };
00023 }
00024 #endif // DDI_Polyhedra_h