Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4BooleanSolid.hh>
Static Public Member Functions | |
static void | SetExternalBooleanProcessor (G4VBooleanProcessor *extProcessor) |
static G4VBooleanProcessor * | GetExternalBooleanProcessor () |
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 |
G4double | fCubicVolume = -1.0 |
G4double | fSurfaceArea = -1.0 |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Static Protected Attributes | |
static G4VBooleanProcessor * | fExternalBoolProcessor = nullptr |
Definition at line 49 of file G4BooleanSolid.hh.
Definition at line 54 of file G4BooleanSolid.cc.
G4BooleanSolid::G4BooleanSolid | ( | const G4String & | pName, |
G4VSolid * | pSolidA, | ||
G4VSolid * | pSolidB, | ||
G4RotationMatrix * | rotMatrix, | ||
const G4ThreeVector & | transVector ) |
Definition at line 65 of file G4BooleanSolid.cc.
G4BooleanSolid::G4BooleanSolid | ( | const G4String & | pName, |
G4VSolid * | pSolidA, | ||
G4VSolid * | pSolidB, | ||
const G4Transform3D & | transform ) |
Definition at line 80 of file G4BooleanSolid.cc.
|
override |
Definition at line 104 of file G4BooleanSolid.cc.
G4BooleanSolid::G4BooleanSolid | ( | __void__ & | a | ) |
Definition at line 95 of file G4BooleanSolid.cc.
G4BooleanSolid::G4BooleanSolid | ( | const G4BooleanSolid & | rhs | ) |
Definition at line 117 of file G4BooleanSolid.cc.
|
inline |
|
inline |
Reimplemented from G4VSolid.
Definition at line 164 of file G4BooleanSolid.cc.
Referenced by G4IntersectionSolid::CreatePolyhedron(), G4SubtractionSolid::CreatePolyhedron(), G4UnionSolid::CreatePolyhedron(), and G4tgbGeometryDumper::DumpBooleanVolume().
Reimplemented from G4VSolid.
Definition at line 186 of file G4BooleanSolid.cc.
|
overridevirtual |
Reimplemented from G4VSolid.
Reimplemented in G4SubtractionSolid, and G4UnionSolid.
Definition at line 423 of file G4BooleanSolid.cc.
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
|
inline |
|
inline |
|
overridevirtual |
Implements G4VSolid.
Reimplemented in G4IntersectionSolid, G4SubtractionSolid, and G4UnionSolid.
Definition at line 206 of file G4BooleanSolid.cc.
Referenced by StreamInfo().
|
static |
Definition at line 446 of file G4BooleanSolid.cc.
Referenced by G4MultiUnion::CreatePolyhedron().
|
protected |
Definition at line 234 of file G4BooleanSolid.cc.
Referenced by GetPointOnSurface().
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 298 of file G4BooleanSolid.cc.
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 347 of file G4BooleanSolid.cc.
Referenced by G4IntersectionSolid::CreatePolyhedron(), G4SubtractionSolid::CreatePolyhedron(), and G4UnionSolid::CreatePolyhedron().
G4BooleanSolid & G4BooleanSolid::operator= | ( | const G4BooleanSolid & | rhs | ) |
Definition at line 133 of file G4BooleanSolid.cc.
Referenced by G4IntersectionSolid::operator=(), G4SubtractionSolid::operator=(), and G4UnionSolid::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
|
static |
Definition at line 437 of file G4BooleanSolid.cc.
|
protected |
Definition at line 368 of file G4BooleanSolid.cc.
Referenced by G4IntersectionSolid::CreatePolyhedron(), G4SubtractionSolid::CreatePolyhedron(), G4UnionSolid::CreatePolyhedron(), and StackPolyhedron().
|
overridevirtual |
Implements G4VSolid.
Definition at line 215 of file G4BooleanSolid.cc.
|
protected |
Definition at line 125 of file G4BooleanSolid.hh.
Referenced by GetCubicVolume(), G4SubtractionSolid::GetCubicVolume(), G4UnionSolid::GetCubicVolume(), and operator=().
|
staticprotected |
Definition at line 130 of file G4BooleanSolid.hh.
Referenced by G4IntersectionSolid::CreatePolyhedron(), G4SubtractionSolid::CreatePolyhedron(), G4UnionSolid::CreatePolyhedron(), GetExternalBooleanProcessor(), and SetExternalBooleanProcessor().
|
protected |
Definition at line 122 of file G4BooleanSolid.hh.
Referenced by G4IntersectionSolid::BoundingLimits(), G4SubtractionSolid::BoundingLimits(), G4UnionSolid::BoundingLimits(), G4IntersectionSolid::CalculateExtent(), G4SubtractionSolid::CalculateExtent(), G4UnionSolid::CalculateExtent(), G4IntersectionSolid::DistanceToIn(), G4IntersectionSolid::DistanceToIn(), G4SubtractionSolid::DistanceToIn(), G4SubtractionSolid::DistanceToIn(), G4UnionSolid::DistanceToIn(), G4UnionSolid::DistanceToIn(), G4IntersectionSolid::DistanceToOut(), G4IntersectionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), G4UnionSolid::DistanceToOut(), G4UnionSolid::DistanceToOut(), G4BooleanSolid(), G4BooleanSolid(), GetConstituentSolid(), GetConstituentSolid(), G4SubtractionSolid::GetCubicVolume(), G4UnionSolid::GetCubicVolume(), GetListOfPrimitives(), G4IntersectionSolid::Inside(), G4SubtractionSolid::Inside(), G4UnionSolid::Inside(), operator=(), StreamInfo(), G4IntersectionSolid::SurfaceNormal(), G4SubtractionSolid::SurfaceNormal(), and G4UnionSolid::SurfaceNormal().
|
protected |
Definition at line 123 of file G4BooleanSolid.hh.
Referenced by G4IntersectionSolid::BoundingLimits(), G4UnionSolid::BoundingLimits(), G4IntersectionSolid::CalculateExtent(), G4UnionSolid::CalculateExtent(), G4IntersectionSolid::DistanceToIn(), G4IntersectionSolid::DistanceToIn(), G4SubtractionSolid::DistanceToIn(), G4SubtractionSolid::DistanceToIn(), G4UnionSolid::DistanceToIn(), G4UnionSolid::DistanceToIn(), G4IntersectionSolid::DistanceToOut(), G4IntersectionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), G4SubtractionSolid::DistanceToOut(), G4UnionSolid::DistanceToOut(), G4UnionSolid::DistanceToOut(), G4BooleanSolid(), G4BooleanSolid(), GetConstituentSolid(), GetConstituentSolid(), G4SubtractionSolid::GetCubicVolume(), G4UnionSolid::GetCubicVolume(), GetListOfPrimitives(), G4IntersectionSolid::Inside(), G4SubtractionSolid::Inside(), G4UnionSolid::Inside(), operator=(), StreamInfo(), G4IntersectionSolid::SurfaceNormal(), G4SubtractionSolid::SurfaceNormal(), G4UnionSolid::SurfaceNormal(), and ~G4BooleanSolid().
|
protected |
Definition at line 127 of file G4BooleanSolid.hh.
Referenced by operator=().