|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4TwistedTrd is a twisted trapezoid with the X and Y dimensions varying along Z. More...
#include <G4TwistedTrd.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 |
G4TwistedTrd is a twisted trapezoid with the X and Y dimensions varying along Z.
Definition at line 55 of file G4TwistedTrd.hh.
| G4TwistedTrd::G4TwistedTrd | ( | const G4String & | pName, |
| G4double | pDx1, | ||
| G4double | pDx2, | ||
| G4double | pDy1, | ||
| G4double | pDy2, | ||
| G4double | pDz, | ||
| G4double | pPhiTwist ) |
Constructs a twisted Trd, given its parameters.
| [in] | pName | The solid name. |
| [in] | pDx1 | Half-length along X at the surface positioned at -dz. |
| [in] | pDx2 | Half-length along X at the surface positioned at +dz. |
| [in] | pDy1 | Half-length along Y at the surface positioned at -dz. |
| [in] | pDy2 | Half-length along Y at the surface positioned at +dz. |
| [in] | pDz | Half-length along Z axis. |
| [in] | pPhiTwist | The twist angle. |
Definition at line 45 of file G4TwistedTrd.cc.
Referenced by Clone(), G4TwistedTrd(), and operator=().
|
overridedefault |
Default destructor.
| G4TwistedTrd::G4TwistedTrd | ( | __void__ & | a | ) |
Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
Definition at line 61 of file G4TwistedTrd.cc.
| G4TwistedTrd::G4TwistedTrd | ( | const G4TwistedTrd & | rhs | ) |
Copy constructor and assignment operator.
Definition at line 69 of file G4TwistedTrd.cc.
|
overridevirtual |
Makes a clone of the object for use in multi-treading.
Reimplemented from G4VSolid.
Definition at line 127 of file G4TwistedTrd.cc.
|
overridevirtual |
Returning an estimation of the solid volume (capacity) and surface area, in internal units.
Reimplemented from G4VSolid.
Definition at line 135 of file G4TwistedTrd.cc.
|
overridevirtual |
Returns the type ID, "G4TwistedTrd" of the solid.
Implements G4VSolid.
Definition at line 119 of file G4TwistedTrd.cc.
|
inline |
Definition at line 90 of file G4TwistedTrd.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrdWrite().
|
overridevirtual |
Returns an estimation of the solid surface area in internal units. This method may be overloaded by derived classes to compute the exact geometrical quantity for solids where this is possible, or anyway to cache the computed value. Note: the computed value is NOT cached.
Reimplemented from G4VSolid.
Definition at line 154 of file G4TwistedTrd.cc.
|
inline |
Accessors.
Definition at line 85 of file G4TwistedTrd.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrdWrite().
|
inline |
Definition at line 86 of file G4TwistedTrd.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrdWrite().
|
inline |
Definition at line 87 of file G4TwistedTrd.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrdWrite().
|
inline |
Definition at line 88 of file G4TwistedTrd.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrdWrite().
|
inline |
Definition at line 89 of file G4TwistedTrd.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedtrdWrite().
| G4TwistedTrd & G4TwistedTrd::operator= | ( | const G4TwistedTrd & | rhs | ) |
Definition at line 78 of file G4TwistedTrd.cc.
|
overridevirtual |
Streams the object contents to an output stream.
Implements G4VSolid.
Definition at line 95 of file G4TwistedTrd.cc.