Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-04 02:02:25

0001 #ifndef DDI_ExtrudedPolygon_h
0002 #define DDI_ExtrudedPolygon_h
0003 
0004 #include <iosfwd>
0005 #include <vector>
0006 
0007 #include "Solid.h"
0008 
0009 namespace DDI {
0010 
0011   class ExtrudedPolygon : public Solid {
0012   public:
0013     /* G4ExtrudedSolid(const G4String& pName,            */
0014     /*                 std::vector<G4TwoVector> polygon, */
0015     /*                 std::vector<ZSection> zsections)  */
0016     ExtrudedPolygon(const std::vector<double>& x,
0017                     const std::vector<double>& y,
0018                     const std::vector<double>& z,
0019                     const std::vector<double>& zx,
0020                     const std::vector<double>& zy,
0021                     const std::vector<double>& zscale);
0022 
0023     double volume() const override;
0024     void stream(std::ostream&) const override;
0025   };
0026 }  // namespace DDI
0027 #endif  // DDI_ExtrudedPolygon_h