|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4TwistedTrap is a general twisted trapezoid. The faces perpendicular to the Z planes are trapezia, and their centres are not necessarily on a line parallel to the Z axis. More...
#include <G4TwistedTrap.hh>
Additional Inherited Members | |
| Protected Member Functions inherited from G4VSolid | |
| void | CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
| void | ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
| void | ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
| void | ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const |
| Protected Attributes inherited from G4VTwistedFaceted | |
| G4bool | fRebuildPolyhedron = false |
| G4Polyhedron * | fpPolyhedron = nullptr |
| G4double | fCubicVolume = 0.0 |
| G4double | fSurfaceArea = 0.0 |
| Protected Attributes inherited from G4VSolid | |
| G4double | kCarTolerance |
G4TwistedTrap is a general twisted trapezoid. The faces perpendicular to the Z planes are trapezia, and their centres are not necessarily on a line parallel to the Z axis.
Definition at line 66 of file G4TwistedTrap.hh.
| G4TwistedTrap::G4TwistedTrap | ( | const G4String & | pName, |
| G4double | pPhiTwist, | ||
| G4double | pDx1, | ||
| G4double | pDx2, | ||
| G4double | pDy, | ||
| G4double | pDz ) |
Constructs a twisted trapezoid, given its parameters.
| [in] | pName | The solid name. |
| [in] | pPhiTwist | The twist angle. |
| [in] | pDx1 | Half X length at -pDz,-pDy. |
| [in] | pDx2 | Half X length at -pDz,+pDy. |
| [in] | pDy | Half-length along the Y axis. |
| [in] | pDz | Half-length along the Z axis. |
Definition at line 38 of file G4TwistedTrap.cc.
Referenced by Clone(), G4TwistedTrap(), and operator=().
| G4TwistedTrap::G4TwistedTrap | ( | const G4String & | pName, |
| G4double | pPhiTwist, | ||
| G4double | pDz, | ||
| G4double | pTheta, | ||
| G4double | pPhi, | ||
| G4double | pDy1, | ||
| G4double | pDx1, | ||
| G4double | pDx2, | ||
| G4double | pDy2, | ||
| G4double | pDx3, | ||
| G4double | pDx4, | ||
| G4double | pAlph ) |
Alternative construct of a twisted trapezoid, given its parameters.
| [in] | pName | The solid name. |
| [in] | pPhiTwist | The twist angle. |
| [in] | pDz | Half-length along the Z axis. |
| [in] | pTheta | Polar angle of the line joining the centres of the faces at -/+pDz. |
| [in] | pPhi | Azimuthal angle of the line joining the centres of the faces at -/+pDz. |
| [in] | pDy1 | Half Y length at -pDz. |
| [in] | pDx1 | Half X length at -pDz, y=-pDy1. |
| [in] | pDx2 | Half X length at -pDz, y=+pDy1. |
| [in] | pDy2 | Half Y length at +pDz. |
| [in] | pDx3 | Half X length at +pDz, y=-pDy2. |
| [in] | pDx4 | Half X length at +pDz, y=+pDy2. |
| [in] | pAlph | Angle with respect to the Y axis from centre of side. |
Definition at line 49 of file G4TwistedTrap.cc.
|
overridedefault |
Default destructor.
| G4TwistedTrap::G4TwistedTrap | ( | __void__ & | a | ) |
Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
Definition at line 71 of file G4TwistedTrap.cc.
| G4TwistedTrap::G4TwistedTrap | ( | const G4TwistedTrap & | rhs | ) |
Copy constructor and assignment operator.
Definition at line 79 of file G4TwistedTrap.cc.
|
overridevirtual |
Makes a clone of the object for use in multi-treading.
Reimplemented from G4VSolid.
Definition at line 146 of file G4TwistedTrap.cc.
|
inline |
Definition at line 135 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
overridevirtual |
Returns the type ID, "G4TwistedTrap" of the solid.
Implements G4VSolid.
Definition at line 138 of file G4TwistedTrap.cc.
|
inline |
Definition at line 132 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 134 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 133 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 126 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 127 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 129 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 130 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Accessors.
Definition at line 125 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 128 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
|
inline |
Definition at line 131 of file G4TwistedTrap.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrapWrite().
| G4TwistedTrap & G4TwistedTrap::operator= | ( | const G4TwistedTrap & | rhs | ) |
Definition at line 88 of file G4TwistedTrap.cc.
|
overridevirtual |
Streams the object contents to an output stream.
Implements G4VSolid.
Definition at line 105 of file G4TwistedTrap.cc.