|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4CSGSolid is an abstract class inherited from G4VSolid for Constructed Solids. Used primarily to structure inheritance tree. More...
#include <G4CSGSolid.hh>
Protected Member Functions | |
| G4double | GetRadiusInRing (G4double rmin, G4double rmax) const |
| 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 | |
| G4double | fCubicVolume = 0.0 |
| G4double | fSurfaceArea = 0.0 |
| G4bool | fRebuildPolyhedron = false |
| G4Polyhedron * | fpPolyhedron = nullptr |
| Protected Attributes inherited from G4VSolid | |
| G4double | kCarTolerance |
G4CSGSolid is an abstract class inherited from G4VSolid for Constructed Solids. Used primarily to structure inheritance tree.
Definition at line 46 of file G4CSGSolid.hh.
| G4CSGSolid::G4CSGSolid | ( | const G4String & | pName | ) |
Constructor with a name.
Definition at line 49 of file G4CSGSolid.cc.
Referenced by G4Box::G4Box(), G4Box::G4Box(), G4Cons::G4Cons(), G4Cons::G4Cons(), G4CSGSolid(), G4CutTubs::G4CutTubs(), G4CutTubs::G4CutTubs(), G4Orb::G4Orb(), G4Orb::G4Orb(), G4Para::G4Para(), G4Para::G4Para(), G4Para::G4Para(), G4Para::G4Para(), G4Sphere::G4Sphere(), G4Sphere::G4Sphere(), G4Torus::G4Torus(), G4Torus::G4Torus(), G4Trap::G4Trap(), G4Trap::G4Trap(), G4Trap::G4Trap(), G4Trap::G4Trap(), G4Trap::G4Trap(), G4Trap::G4Trap(), G4Trap::G4Trap(), G4Trap::G4Trap(), G4Trd::G4Trd(), G4Trd::G4Trd(), G4Trd::G4Trd(), G4Tubs::G4Tubs(), G4Tubs::G4Tubs(), and operator=().
|
override |
| G4CSGSolid::G4CSGSolid | ( | __void__ & | a | ) |
Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
Definition at line 59 of file G4CSGSolid.cc.
| G4CSGSolid::G4CSGSolid | ( | const G4CSGSolid & | rhs | ) |
|
overridevirtual |
Returns a pointer to the generated polyhedron for visualisation.
Reimplemented from G4VSolid.
Definition at line 129 of file G4CSGSolid.cc.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), and G4ScoringBox::DrawColumn().
Utility function for subclasses to generate proper circular areas.
Definition at line 109 of file G4CSGSolid.cc.
Referenced by G4Cons::GetPointOnSurface().
| G4CSGSolid & G4CSGSolid::operator= | ( | const G4CSGSolid & | rhs | ) |
Definition at line 89 of file G4CSGSolid.cc.
Referenced by G4Box::operator=(), G4Cons::operator=(), G4CutTubs::operator=(), G4Orb::operator=(), G4Para::operator=(), G4Sphere::operator=(), G4Torus::operator=(), G4Trap::operator=(), G4Trd::operator=(), and G4Tubs::operator=().
|
overridevirtual |
Streams the object contents to an output stream.
Implements G4VSolid.
Reimplemented in G4CutTubs, G4Orb, G4Para, G4Sphere, G4Torus, G4Trap, G4Trd, and G4Tubs.
Definition at line 116 of file G4CSGSolid.cc.
|
protected |
Definition at line 92 of file G4CSGSolid.hh.
Referenced by G4CSGSolid(), G4Box::GetCubicVolume(), G4Cons::GetCubicVolume(), G4CutTubs::GetCubicVolume(), G4Orb::GetCubicVolume(), G4Para::GetCubicVolume(), G4Sphere::GetCubicVolume(), G4Torus::GetCubicVolume(), G4Trap::GetCubicVolume(), G4Trd::GetCubicVolume(), G4Tubs::GetCubicVolume(), operator=(), G4Para::SetAllParameters(), G4Torus::SetAllParameters(), G4Trap::SetAllParameters(), G4Trd::SetAllParameters(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().
|
mutableprotected |
Definition at line 95 of file G4CSGSolid.hh.
Referenced by GetPolyhedron(), operator=(), and ~G4CSGSolid().
|
mutableprotected |
Definition at line 94 of file G4CSGSolid.hh.
Referenced by G4Para::G4Para(), G4Para::G4Para(), GetPolyhedron(), operator=(), G4Para::SetAllParameters(), G4Torus::SetAllParameters(), G4Trap::SetAllParameters(), G4Trd::SetAllParameters(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().
|
protected |
Definition at line 93 of file G4CSGSolid.hh.
Referenced by G4CSGSolid(), G4Box::GetSurfaceArea(), G4Cons::GetSurfaceArea(), G4CutTubs::GetSurfaceArea(), G4Orb::GetSurfaceArea(), G4Para::GetSurfaceArea(), G4Sphere::GetSurfaceArea(), G4Torus::GetSurfaceArea(), G4Trap::GetSurfaceArea(), G4Trd::GetSurfaceArea(), G4Tubs::GetSurfaceArea(), operator=(), G4Para::SetAllParameters(), G4Torus::SetAllParameters(), G4Trap::SetAllParameters(), G4Trd::SetAllParameters(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().