|
VGM Version 5.3.1
|
VGM implementation for Geant4 xtru solid. More...
#include <ExtrudedSolid.h>

Public Member Functions | |
| ExtrudedSolid (const std::string &name, std::vector< VGM::TwoVector > polygon, std::vector< std::vector< double > > zsections) | |
| ExtrudedSolid (G4ExtrudedSolid *xtru, G4ReflectedSolid *reflXtru=0) | |
| virtual | ~ExtrudedSolid () |
| virtual std::string | Name () const |
| Return the name of this solid. | |
| int | NofVertices () const |
| Return the number of vertices of outline polygon. | |
| VGM::TwoVector | Vertex (int index) const |
| Return the index-th vertex of outline polygon. | |
| virtual int | NofZSections () const |
| Return the number of planes perpendicular to the z axis. | |
| virtual double | ZPosition (int iz) const |
| Return the z position of the iz-th plane in mm. | |
| virtual VGM::TwoVector | Offset (int iz) const |
| Return the polygon offset in iz-th side. | |
| virtual double | Scale (int iz) const |
| Return the polygon scale in iz-th side. | |
Public Member Functions inherited from BaseVGM::VExtrudedSolid | |
| VExtrudedSolid () | |
| virtual | ~VExtrudedSolid () |
| virtual VGM::SolidType | Type () const |
| Return the type of this solid. | |
| virtual std::ostream & | Put (std::ostream &out) const |
| Put the printing of the solid parameters in the out stream. | |
Public Member Functions inherited from VGM::IExtrudedSolid | |
| virtual | ~IExtrudedSolid () |
Public Member Functions inherited from VGM::ISolid | |
| virtual | ~ISolid () |
Protected Member Functions | |
| ExtrudedSolid () | |
| ExtrudedSolid (const ExtrudedSolid &rhs) | |
VGM implementation for Geant4 xtru solid.
Definition at line 36 of file ExtrudedSolid.h.
| Geant4GM::ExtrudedSolid::ExtrudedSolid | ( | const std::string & | name, |
| std::vector< VGM::TwoVector > | polygon, | ||
| std::vector< std::vector< double > > | zsections ) |
Standard constructor to define ExtrudedSolid from parameters
| polygon | the outline polygon |
| zsections | the vector of z-sections defined via 4 double numbers: z position (in mm), the polygon offset in x and y, the scale |
Definition at line 33 of file ExtrudedSolid.cxx.
| Geant4GM::ExtrudedSolid::ExtrudedSolid | ( | G4ExtrudedSolid * | xtru, |
| G4ReflectedSolid * | reflXtru = 0 ) |
Standard constructor to define ExtrudedSolid from Geant4 object
Definition at line 115 of file ExtrudedSolid.cxx.
|
virtual |
Definition at line 179 of file ExtrudedSolid.cxx.
|
protected |
Protected default constructor
Definition at line 153 of file ExtrudedSolid.cxx.
|
protected |
Protected copy constructor
Definition at line 166 of file ExtrudedSolid.cxx.
|
virtual |
Return the name of this solid.
Implements VGM::IExtrudedSolid.
Definition at line 279 of file ExtrudedSolid.cxx.
|
inlinevirtual |
Return the number of vertices of outline polygon.
Implements VGM::IExtrudedSolid.
Definition at line 285 of file ExtrudedSolid.cxx.
|
inlinevirtual |
Return the index-th vertex of outline polygon.
Implements VGM::IExtrudedSolid.
Definition at line 291 of file ExtrudedSolid.cxx.
|
virtual |
Return the number of planes perpendicular to the z axis.
Implements VGM::IExtrudedSolid.
Definition at line 305 of file ExtrudedSolid.cxx.
|
virtual |
Return the z position of the iz-th plane in mm.
Implements VGM::IExtrudedSolid.
Definition at line 308 of file ExtrudedSolid.cxx.
|
virtual |
Return the polygon offset in iz-th side.
Implements VGM::IExtrudedSolid.
Definition at line 321 of file ExtrudedSolid.cxx.
|
virtual |
Return the polygon scale in iz-th side.
Implements VGM::IExtrudedSolid.
Definition at line 335 of file ExtrudedSolid.cxx.