Geant4 11.3.0
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 |
![]() | |
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 |
![]() | |
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.
Referenced by G4BooleanSolid(), G4IntersectionSolid::G4IntersectionSolid(), G4IntersectionSolid::G4IntersectionSolid(), G4IntersectionSolid::G4IntersectionSolid(), G4IntersectionSolid::G4IntersectionSolid(), G4SubtractionSolid::G4SubtractionSolid(), G4SubtractionSolid::G4SubtractionSolid(), G4SubtractionSolid::G4SubtractionSolid(), G4SubtractionSolid::G4SubtractionSolid(), G4UnionSolid::G4UnionSolid(), G4UnionSolid::G4UnionSolid(), G4UnionSolid::G4UnionSolid(), G4UnionSolid::G4UnionSolid(), G4UnionSolid::G4UnionSolid(), GetListOfPrimitives(), operator=(), SetAreaAccuracy(), SetCubVolEpsilon(), and SetCubVolStatistics().
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 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 581 of file G4BooleanSolid.cc.
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
|
inline |
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
|
inline |
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
|
overridevirtual |
Implements G4VSolid.
Reimplemented in G4IntersectionSolid, G4SubtractionSolid, and G4UnionSolid.
Definition at line 206 of file G4BooleanSolid.cc.
Referenced by StreamInfo().
|
static |
Definition at line 604 of file G4BooleanSolid.cc.
Referenced by G4MultiUnion::CreatePolyhedron().
|
protected |
Definition at line 374 of file G4BooleanSolid.cc.
Referenced by GetPointOnSurface().
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 487 of file G4BooleanSolid.cc.
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 438 of file G4BooleanSolid.cc.
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 505 of file G4BooleanSolid.cc.
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 496 of file G4BooleanSolid.cc.
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 |
void G4BooleanSolid::SetCubVolEpsilon | ( | G4double | ep | ) |
Definition at line 285 of file G4BooleanSolid.cc.
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
void G4BooleanSolid::SetCubVolStatistics | ( | G4int | st | ) |
Definition at line 215 of file G4BooleanSolid.cc.
Referenced by G4SubtractionSolid::GetCubicVolume(), and G4UnionSolid::GetCubicVolume().
|
static |
Definition at line 595 of file G4BooleanSolid.cc.
|
protected |
Definition at line 526 of file G4BooleanSolid.cc.
Referenced by G4IntersectionSolid::CreatePolyhedron(), G4SubtractionSolid::CreatePolyhedron(), G4UnionSolid::CreatePolyhedron(), and StackPolyhedron().
|
overridevirtual |
Implements G4VSolid.
Definition at line 355 of file G4BooleanSolid.cc.
|
protected |
Definition at line 128 of file G4BooleanSolid.hh.
Referenced by G4BooleanSolid(), GetCubicVolume(), G4SubtractionSolid::GetCubicVolume(), G4UnionSolid::GetCubicVolume(), operator=(), SetCubVolEpsilon(), and SetCubVolStatistics().
|
staticprotected |
Definition at line 133 of file G4BooleanSolid.hh.
Referenced by G4IntersectionSolid::CreatePolyhedron(), G4SubtractionSolid::CreatePolyhedron(), G4UnionSolid::CreatePolyhedron(), GetExternalBooleanProcessor(), and SetExternalBooleanProcessor().
|
protected |
Definition at line 125 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(), G4BooleanSolid(), G4BooleanSolid(), GetConstituentSolid(), GetConstituentSolid(), G4SubtractionSolid::GetCubicVolume(), G4UnionSolid::GetCubicVolume(), GetListOfPrimitives(), GetNumOfConstituents(), G4IntersectionSolid::Inside(), G4SubtractionSolid::Inside(), G4UnionSolid::Inside(), IsFaceted(), operator=(), SetCubVolEpsilon(), SetCubVolStatistics(), StreamInfo(), G4IntersectionSolid::SurfaceNormal(), G4SubtractionSolid::SurfaceNormal(), and G4UnionSolid::SurfaceNormal().
|
protected |
Definition at line 126 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(), G4BooleanSolid(), G4BooleanSolid(), GetConstituentSolid(), GetConstituentSolid(), G4SubtractionSolid::GetCubicVolume(), G4UnionSolid::GetCubicVolume(), GetListOfPrimitives(), GetNumOfConstituents(), G4IntersectionSolid::Inside(), G4SubtractionSolid::Inside(), G4UnionSolid::Inside(), IsFaceted(), operator=(), SetCubVolEpsilon(), SetCubVolStatistics(), StreamInfo(), G4IntersectionSolid::SurfaceNormal(), G4SubtractionSolid::SurfaceNormal(), G4UnionSolid::SurfaceNormal(), and ~G4BooleanSolid().
|
protected |
Definition at line 130 of file G4BooleanSolid.hh.
Referenced by G4BooleanSolid(), and operator=().