|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4TwistedBox is a twisted cuboid of given half lengths and twist angle. The box is centred on the origin with sides parallel to the Cartesian axes. More...
#include <G4TwistedBox.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 |
G4TwistedBox is a twisted cuboid of given half lengths and twist angle. The box is centred on the origin with sides parallel to the Cartesian axes.
Definition at line 54 of file G4TwistedBox.hh.
| G4TwistedBox::G4TwistedBox | ( | const G4String & | pName, |
| G4double | pPhiTwist, | ||
| G4double | pDx, | ||
| G4double | pDy, | ||
| G4double | pDz ) |
Constructs a twisted box, given its parameters.
| [in] | pName | The solid name. |
| [in] | pPhiTwist | Twist angle. |
| [in] | pDx | Half-length along X axis. |
| [in] | pDy | Half-length along Y axis. |
| [in] | pDz | Half-length along Z axis. |
Definition at line 44 of file G4TwistedBox.cc.
Referenced by Clone(), G4TwistedBox(), and operator=().
|
overridedefault |
Default destructor.
| G4TwistedBox::G4TwistedBox | ( | __void__ & | a | ) |
Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
Definition at line 58 of file G4TwistedBox.cc.
| G4TwistedBox::G4TwistedBox | ( | const G4TwistedBox & | rhs | ) |
Copy constructor and assignment operator.
Definition at line 66 of file G4TwistedBox.cc.
|
overridevirtual |
Makes a clone of the object for use in multi-treading.
Reimplemented from G4VSolid.
Definition at line 122 of file G4TwistedBox.cc.
|
overridevirtual |
Returning an estimation of the solid volume (capacity) and surface area, in internal units.
Reimplemented from G4VSolid.
Definition at line 130 of file G4TwistedBox.cc.
|
overridevirtual |
Returns the type ID, "G4TwistedBox" of the solid.
Implements G4VSolid.
Definition at line 114 of file G4TwistedBox.cc.
|
inline |
Definition at line 83 of file G4TwistedBox.hh.
Referenced by G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedboxWrite().
|
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 144 of file G4TwistedBox.cc.
|
inline |
Accessors.
Definition at line 80 of file G4TwistedBox.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedboxWrite().
|
inline |
Definition at line 81 of file G4TwistedBox.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedboxWrite().
|
inline |
Definition at line 82 of file G4TwistedBox.hh.
Referenced by GetCubicVolume(), G4tgbGeometryDumper::GetSolidParams(), GetSurfaceArea(), StreamInfo(), and G4GDMLWriteSolids::TwistedboxWrite().
| G4TwistedBox & G4TwistedBox::operator= | ( | const G4TwistedBox & | rhs | ) |
Definition at line 75 of file G4TwistedBox.cc.
|
overridevirtual |
Streams the object contents to an output stream.
Implements G4VSolid.
Definition at line 92 of file G4TwistedBox.cc.