1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef DDI_ExtrudedPolygon_h
#define DDI_ExtrudedPolygon_h
#include <iosfwd>
#include <vector>
#include "Solid.h"
namespace DDI {
class ExtrudedPolygon : public Solid {
public:
/* G4ExtrudedSolid(const G4String& pName, */
/* std::vector<G4TwoVector> polygon, */
/* std::vector<ZSection> zsections) */
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);
double volume() const override;
void stream(std::ostream&) const override;
};
} // namespace DDI
#endif // DDI_ExtrudedPolygon_h
|