test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Polyhedra.h
Go to the documentation of this file.
1 #ifndef DDI_Polyhedra_h
2 #define DDI_Polyhedra_h
3 
4 #include <iosfwd>
5 #include <vector>
6 
7 #include "Solid.h"
8 
9 namespace DDI {
10 
11  class Polyhedra : public Solid
12  {
13  public:
14  Polyhedra( int sides, double startPhi, double deltaPhi,
15  const std::vector<double> & z,
16  const std::vector<double> & rmin,
17  const std::vector<double> & rmax);
18 
19  Polyhedra( int sides, double startPhi, double deltaPhi,
20  const std::vector<double> & z,
21  const std::vector<double> & r);
22 
23  double volume() const;
24  void stream(std::ostream &) const;
25 
26  };
27 }
28 #endif // DDI_Polyhedra_h
double volume() const
Definition: Polyhedra.cc:63
void stream(std::ostream &) const
Definition: Polyhedra.cc:155
Polyhedra(int sides, double startPhi, double deltaPhi, const std::vector< double > &z, const std::vector< double > &rmin, const std::vector< double > &rmax)
Definition: Polyhedra.cc:18