Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4CSGSolid.hh>
Public Member Functions | |
G4CSGSolid (const G4String &pName) | |
virtual | ~G4CSGSolid () |
virtual std::ostream & | StreamInfo (std::ostream &os) const |
virtual G4Polyhedron * | GetPolyhedron () const |
G4CSGSolid (__void__ &) | |
G4CSGSolid (const G4CSGSolid &rhs) | |
G4CSGSolid & | operator= (const G4CSGSolid &rhs) |
Public Member Functions inherited from G4VSolid | |
G4VSolid (const G4String &name) | |
virtual | ~G4VSolid () |
G4bool | operator== (const G4VSolid &s) const |
G4String | GetName () const |
void | SetName (const G4String &name) |
G4double | GetTolerance () const |
virtual void | BoundingLimits (G4ThreeVector &pMin, G4ThreeVector &pMax) const |
virtual G4bool | CalculateExtent (const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const =0 |
virtual EInside | Inside (const G4ThreeVector &p) const =0 |
virtual G4ThreeVector | SurfaceNormal (const G4ThreeVector &p) const =0 |
virtual G4double | DistanceToIn (const G4ThreeVector &p, const G4ThreeVector &v) const =0 |
virtual G4double | DistanceToIn (const G4ThreeVector &p) const =0 |
virtual G4double | DistanceToOut (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const =0 |
virtual G4double | DistanceToOut (const G4ThreeVector &p) const =0 |
virtual void | ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep) |
virtual G4double | GetCubicVolume () |
virtual G4double | GetSurfaceArea () |
virtual G4GeometryType | GetEntityType () const =0 |
virtual G4ThreeVector | GetPointOnSurface () const |
virtual G4VSolid * | Clone () const |
virtual std::ostream & | StreamInfo (std::ostream &os) const =0 |
void | DumpInfo () const |
virtual void | DescribeYourselfTo (G4VGraphicsScene &scene) const =0 |
virtual G4VisExtent | GetExtent () const |
virtual G4Polyhedron * | CreatePolyhedron () const |
virtual G4Polyhedron * | GetPolyhedron () const |
virtual const G4VSolid * | GetConstituentSolid (G4int no) const |
virtual G4VSolid * | GetConstituentSolid (G4int no) |
virtual const G4DisplacedSolid * | GetDisplacedSolidPtr () const |
virtual G4DisplacedSolid * | GetDisplacedSolidPtr () |
G4VSolid (__void__ &) | |
G4VSolid (const G4VSolid &rhs) | |
G4VSolid & | operator= (const G4VSolid &rhs) |
G4double | EstimateCubicVolume (G4int nStat, G4double epsilon) const |
G4double | EstimateSurfaceArea (G4int nStat, G4double ell) const |
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 |
Definition at line 41 of file G4CSGSolid.hh.
G4CSGSolid::G4CSGSolid | ( | const G4String & | pName | ) |
Definition at line 49 of file G4CSGSolid.cc.
|
virtual |
Definition at line 69 of file G4CSGSolid.cc.
G4CSGSolid::G4CSGSolid | ( | __void__ & | a | ) |
Definition at line 59 of file G4CSGSolid.cc.
G4CSGSolid::G4CSGSolid | ( | const G4CSGSolid & | rhs | ) |
Definition at line 79 of file G4CSGSolid.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 129 of file G4CSGSolid.cc.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), and G4ScoringBox::DrawColumn().
Definition at line 109 of file G4CSGSolid.cc.
Referenced by G4Cons::GetPointOnSurface(), G4Sphere::GetPointOnSurface(), and G4Torus::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=().
|
virtual |
Implements G4VSolid.
Reimplemented in G4Box, G4Cons, G4CutTubs, G4Orb, G4Para, G4Sphere, G4Torus, G4Trap, G4Trd, and G4Tubs.
Definition at line 116 of file G4CSGSolid.cc.
|
protected |
Definition at line 70 of file G4CSGSolid.hh.
Referenced by G4CutTubs::GetCubicVolume(), G4Para::GetCubicVolume(), G4Trap::GetCubicVolume(), G4Trd::GetCubicVolume(), operator=(), G4Para::SetAllParameters(), G4Trd::SetAllParameters(), G4Trap::SetAllParameters(), G4Torus::SetAllParameters(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().
|
mutableprotected |
Definition at line 73 of file G4CSGSolid.hh.
Referenced by GetPolyhedron(), operator=(), and ~G4CSGSolid().
|
mutableprotected |
Definition at line 72 of file G4CSGSolid.hh.
Referenced by G4Para::G4Para(), GetPolyhedron(), operator=(), G4Para::SetAllParameters(), G4Trd::SetAllParameters(), G4Trap::SetAllParameters(), G4Torus::SetAllParameters(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().
|
protected |
Definition at line 71 of file G4CSGSolid.hh.
Referenced by G4CutTubs::GetSurfaceArea(), G4Para::GetSurfaceArea(), G4Sphere::GetSurfaceArea(), G4Trap::GetSurfaceArea(), G4Trd::GetSurfaceArea(), operator=(), G4Para::SetAllParameters(), G4Trd::SetAllParameters(), G4Trap::SetAllParameters(), G4Torus::SetAllParameters(), G4Box::SetXHalfLength(), G4Box::SetYHalfLength(), and G4Box::SetZHalfLength().