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
|
#ifndef DDI_Polycone_h
#define DDI_Polycone_h
#include <iosfwd>
#include <vector>
#include "Solid.h"
namespace DDI {
class Polycone : public Solid {
public:
Polycone(double startPhi,
double deltaPhi,
const std::vector<double> &z,
const std::vector<double> &rmin,
const std::vector<double> &rmax);
Polycone(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_Polycone_h
|