Main Page
Namespaces
Classes
Package Documentation
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
{
13
public
:
14
/* G4ExtrudedSolid(const G4String& pName, */
15
/* std::vector<G4TwoVector> polygon, */
16
/* std::vector<ZSection> zsections) */
17
ExtrudedPolygon
(
const
std::vector<double> &
x
,
18
const
std::vector<double> & y,
19
const
std::vector<double> & z,
20
const
std::vector<double> & zx,
21
const
std::vector<double> & zy,
22
const
std::vector<double> & zscale );
23
24
double
volume
()
const
;
25
void
stream
( std::ostream & )
const
;
26
};
27
}
28
#endif // DDI_ExtrudedPolygon_h
DDI::ExtrudedPolygon::volume
double volume() const
Definition:
ExtrudedPolygon.cc:35
x
T x() const
Cartesian x coordinate.
Definition:
Basic3DVectorLD.h:127
DDI::ExtrudedPolygon
Definition:
ExtrudedPolygon.h:11
Solid.h
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::stream
void stream(std::ostream &) const
Definition:
ExtrudedPolygon.cc:43
DDI
Definition:
DDCompactView.h:26
DDI::Solid
Definition:
Solid.h:10
Generated for CMSSW Reference Manual by
1.8.11