DetectorDescription
Core
src
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
public
:
13
/* G4ExtrudedSolid(const G4String& pName, */
14
/* std::vector<G4TwoVector> polygon, */
15
/* std::vector<ZSection> zsections) */
16
ExtrudedPolygon
(
const
std::vector<double>& x,
17
const
std::vector<double>& y,
18
const
std::vector<double>& z,
19
const
std::vector<double>& zx,
20
const
std::vector<double>& zy,
21
const
std::vector<double>& zscale);
22
23
double
volume
()
const override
;
24
void
stream
(std::ostream&)
const override
;
25
};
26
}
// namespace DDI
27
#endif // DDI_ExtrudedPolygon_h
DDI::ExtrudedPolygon::volume
double volume() const override
Definition:
ExtrudedPolygon.cc:35
DDI
Definition:
DDCompactView.h:24
DDI::ExtrudedPolygon::ExtrudedPolygon
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)
Definition:
ExtrudedPolygon.cc:13
DDI::ExtrudedPolygon
Definition:
ExtrudedPolygon.h:11
Solid.h
DDI::Solid
Definition:
Solid.h:10
DDI::ExtrudedPolygon::stream
void stream(std::ostream &) const override
Definition:
ExtrudedPolygon.cc:41
Generated for CMSSW Reference Manual by
1.8.16