ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/solids/Boolean/include/G4BooleanSolid.hh>
Protected Member Functions | |
void | GetListOfPrimitives (std::vector< std::pair< G4VSolid *, G4Transform3D >> &, const G4Transform3D &) const |
G4Polyhedron * | StackPolyhedron (HepPolyhedronProcessor &, const G4VSolid *) 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 | |
G4VSolid * | fPtrSolidA = nullptr |
G4VSolid * | fPtrSolidB = nullptr |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Private Attributes | |
G4int | fStatistics = 1000000 |
G4double | fCubVolEpsilon = 0.001 |
G4double | fAreaAccuracy = -1 |
G4double | fCubicVolume = -1.0 |
G4double | fSurfaceArea = -1.0 |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
std::vector< std::pair < G4VSolid *, G4Transform3D > > | fPrimitives |
G4double | fPrimitivesSurfaceArea = 0.0 |
G4bool | createdDisplacedSolid = false |
Definition at line 46 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 46 of file G4BooleanSolid.hh
Definition at line 52 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 52 of file G4BooleanSolid.cc
G4BooleanSolid::G4BooleanSolid | ( | const G4String & | pName, |
G4VSolid * | pSolidA, | ||
G4VSolid * | pSolidB, | ||
G4RotationMatrix * | rotMatrix, | ||
const G4ThreeVector & | transVector | ||
) |
Definition at line 63 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 63 of file G4BooleanSolid.cc
References fPtrSolidA, and fPtrSolidB.
G4BooleanSolid::G4BooleanSolid | ( | const G4String & | pName, |
G4VSolid * | pSolidA, | ||
G4VSolid * | pSolidB, | ||
const G4Transform3D & | transform | ||
) |
Definition at line 78 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 78 of file G4BooleanSolid.cc
References fPtrSolidA, and fPtrSolidB.
|
virtual |
Definition at line 102 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 102 of file G4BooleanSolid.cc
References createdDisplacedSolid, fpPolyhedron, and fPtrSolidB.
G4BooleanSolid::G4BooleanSolid | ( | __void__ & | a | ) |
Definition at line 93 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 93 of file G4BooleanSolid.cc
G4BooleanSolid::G4BooleanSolid | ( | const G4BooleanSolid & | rhs | ) |
Definition at line 115 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 115 of file G4BooleanSolid.cc
References fPrimitives, and fPrimitivesSurfaceArea.
|
inline |
|
inline |
Reimplemented from G4VSolid.
Definition at line 159 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 159 of file G4BooleanSolid.cc
References G4VSolid::DumpInfo(), FatalException, fPtrSolidA, fPtrSolidB, and G4Exception().
Referenced by G4tgbGeometryDumper::DumpBooleanVolume().
Reimplemented from G4VSolid.
Definition at line 181 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 181 of file G4BooleanSolid.cc
References G4VSolid::DumpInfo(), FatalException, fPtrSolidA, fPtrSolidB, and G4Exception().
|
inline |
|
inline |
|
virtual |
Implements G4VSolid.
Reimplemented in G4SubtractionSolid, G4IntersectionSolid, and G4UnionSolid.
Definition at line 201 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 201 of file G4BooleanSolid.cc
Referenced by StreamInfo().
|
protected |
Definition at line 229 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 229 of file G4BooleanSolid.cc
References fPtrSolidA, fPtrSolidB, G4VSolid::GetEntityType(), and Acts::Test::transform.
Referenced by GetPointOnSurface().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 293 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 293 of file G4BooleanSolid.cc
References fPrimitives, fPrimitivesSurfaceArea, G4Exception(), G4QuickRand(), GetListOfPrimitives(), G4VSolid::GetName(), G4VSolid::Inside(), JustWarning, k, kSurface, and message().
Referenced by export_G4BooleanSolid().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 342 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 342 of file G4BooleanSolid.cc
References G4VSolid::CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, HepPolyhedron::GetNumberOfRotationSteps(), G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< _Mutex_t >::unlock().
G4BooleanSolid & G4BooleanSolid::operator= | ( | const G4BooleanSolid & | rhs | ) |
Definition at line 129 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 129 of file G4BooleanSolid.cc
References createdDisplacedSolid, fAreaAccuracy, fCubicVolume, fCubVolEpsilon, fpPolyhedron, fPrimitives, fPrimitivesSurfaceArea, fPtrSolidA, fPtrSolidB, fRebuildPolyhedron, fStatistics, fSurfaceArea, and G4VSolid::operator=().
Referenced by G4IntersectionSolid::operator=(), G4UnionSolid::operator=(), and G4SubtractionSolid::operator=().
|
protected |
Definition at line 363 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 363 of file G4BooleanSolid.cc
References G4endl, G4Exception(), G4VSolid::GetConstituentSolid(), G4VSolid::GetEntityType(), G4VSolid::GetName(), G4VSolid::GetPolyhedron(), HepPolyhedronProcessor::INTERSECTION, JustWarning, message(), operand(), HepPolyhedronProcessor::push_back(), HepPolyhedronProcessor::SUBTRACTION, and HepPolyhedronProcessor::UNION.
Referenced by G4IntersectionSolid::CreatePolyhedron(), G4UnionSolid::CreatePolyhedron(), and G4SubtractionSolid::CreatePolyhedron().
|
virtual |
Implements G4VSolid.
Definition at line 210 of file G4BooleanSolid.cc.
View newest version in sPHENIX GitHub at line 210 of file G4BooleanSolid.cc
References fPtrSolidA, fPtrSolidB, GetEntityType(), G4VSolid::GetName(), and G4VSolid::StreamInfo().
Definition at line 133 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 133 of file G4BooleanSolid.hh
Referenced by operator=(), and ~G4BooleanSolid().
|
private |
Definition at line 123 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 123 of file G4BooleanSolid.hh
Referenced by operator=().
|
private |
Definition at line 124 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 124 of file G4BooleanSolid.hh
Referenced by operator=().
|
private |
Definition at line 122 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 122 of file G4BooleanSolid.hh
Referenced by operator=().
|
mutableprivate |
Definition at line 128 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 128 of file G4BooleanSolid.hh
Referenced by GetPolyhedron(), operator=(), and ~G4BooleanSolid().
|
mutableprivate |
Definition at line 130 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 130 of file G4BooleanSolid.hh
Referenced by G4BooleanSolid(), GetPointOnSurface(), and operator=().
|
mutableprivate |
Definition at line 131 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 131 of file G4BooleanSolid.hh
Referenced by G4BooleanSolid(), GetPointOnSurface(), and operator=().
|
protected |
Definition at line 116 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 116 of file G4BooleanSolid.hh
Referenced by G4IntersectionSolid::BoundingLimits(), G4UnionSolid::BoundingLimits(), G4SubtractionSolid::BoundingLimits(), G4UnionSolid::CalculateExtent(), G4IntersectionSolid::CalculateExtent(), G4SubtractionSolid::CalculateExtent(), G4IntersectionSolid::DistanceToIn(), G4UnionSolid::DistanceToIn(), G4SubtractionSolid::DistanceToIn(), G4UnionSolid::DistanceToOut(), G4IntersectionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), G4BooleanSolid(), GetConstituentSolid(), GetListOfPrimitives(), G4IntersectionSolid::Inside(), G4UnionSolid::Inside(), G4SubtractionSolid::Inside(), operator=(), StreamInfo(), G4UnionSolid::SurfaceNormal(), G4IntersectionSolid::SurfaceNormal(), and G4SubtractionSolid::SurfaceNormal().
|
protected |
Definition at line 117 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 117 of file G4BooleanSolid.hh
Referenced by G4IntersectionSolid::BoundingLimits(), G4UnionSolid::BoundingLimits(), G4IntersectionSolid::CalculateExtent(), G4UnionSolid::CalculateExtent(), G4IntersectionSolid::DistanceToIn(), G4UnionSolid::DistanceToIn(), G4SubtractionSolid::DistanceToIn(), G4UnionSolid::DistanceToOut(), G4IntersectionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), G4BooleanSolid(), GetConstituentSolid(), GetListOfPrimitives(), G4IntersectionSolid::Inside(), G4UnionSolid::Inside(), G4SubtractionSolid::Inside(), operator=(), StreamInfo(), G4UnionSolid::SurfaceNormal(), G4IntersectionSolid::SurfaceNormal(), G4SubtractionSolid::SurfaceNormal(), and ~G4BooleanSolid().
Definition at line 127 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 127 of file G4BooleanSolid.hh
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 121 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 121 of file G4BooleanSolid.hh
Referenced by operator=().
|
private |
Definition at line 125 of file G4BooleanSolid.hh.
View newest version in sPHENIX GitHub at line 125 of file G4BooleanSolid.hh
Referenced by operator=().