CMS 3D CMS Logo

ExtrudedPolygon.h
Go to the documentation of this file.
1 #ifndef DDI_ExtrudedPolygon_h
2 #define DDI_ExtrudedPolygon_h
3 
4 #include <iosfwd>
5 #include <vector>
6 
7 #include "Solid.h"
8 
9 namespace DDI {
10 
11  class ExtrudedPolygon : public Solid
12  {
13  public:
14  /* G4ExtrudedSolid(const G4String& pName, */
15  /* std::vector<G4TwoVector> polygon, */
16  /* std::vector<ZSection> zsections) */
17  ExtrudedPolygon( const std::vector<double> & x,
18  const std::vector<double> & y,
19  const std::vector<double> & z,
20  const std::vector<double> & zx,
21  const std::vector<double> & zy,
22  const std::vector<double> & zscale );
23 
24  double volume() const override;
25  void stream( std::ostream & ) const override;
26  };
27 }
28 #endif // DDI_ExtrudedPolygon_h
double volume() const override
ExtrudedPolygon(const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, const std::vector< double > &zx, const std::vector< double > &zy, const std::vector< double > &zscale)
void stream(std::ostream &) const override