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
|
#ifndef DDI_Polyhedra_h
#define DDI_Polyhedra_h
#include <iosfwd>
#include <vector>
#include "Solid.h"
namespace DDI {
class Polyhedra : public Solid {
public:
Polyhedra(int sides,
double startPhi,
double deltaPhi,
const std::vector<double> &z,
const std::vector<double> &rmin,
const std::vector<double> &rmax);
Polyhedra(int sides, double startPhi, double deltaPhi, const std::vector<double> &z, const std::vector<double> &r);
double volume() const override;
void stream(std::ostream &) const override;
};
} // namespace DDI
#endif // DDI_Polyhedra_h
|