Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VCSGfaceted.hh>
Protected Member Functions | |
virtual G4double | DistanceTo (const G4ThreeVector &p, const G4bool outgoing) const |
G4ThreeVector | GetPointOnSurfaceGeneric () const |
void | CopyStuff (const G4VCSGfaceted &source) |
void | DeleteStuff () |
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 | |
G4int | numFace = 0 |
G4VCSGface ** | faces = nullptr |
G4double | fCubicVolume = 0.0 |
G4double | fSurfaceArea = 0.0 |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Definition at line 43 of file G4VCSGfaceted.hh.
G4VCSGfaceted::G4VCSGfaceted | ( | const G4String & | name | ) |
Definition at line 55 of file G4VCSGfaceted.cc.
|
virtual |
Definition at line 75 of file G4VCSGfaceted.cc.
G4VCSGfaceted::G4VCSGfaceted | ( | const G4VCSGfaceted & | source | ) |
Definition at line 85 of file G4VCSGfaceted.cc.
G4VCSGfaceted::G4VCSGfaceted | ( | __void__ & | a | ) |
Definition at line 66 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 169 of file G4VCSGfaceted.cc.
|
protected |
Definition at line 125 of file G4VCSGfaceted.cc.
Referenced by G4VCSGfaceted(), and operator=().
|
pure virtual |
Reimplemented from G4VSolid.
Implemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Referenced by GetPolyhedron().
|
protected |
Definition at line 150 of file G4VCSGfaceted.cc.
Referenced by operator=(), G4Polycone::Reset(), G4Polyhedra::Reset(), and ~G4VCSGfaceted().
|
virtual |
Implements G4VSolid.
Definition at line 396 of file G4VCSGfaceted.cc.
|
protectedvirtual |
Definition at line 378 of file G4VCSGfaceted.cc.
Referenced by DistanceToIn(), and DistanceToOut().
|
virtual |
Implements G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 290 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 248 of file G4VCSGfaceted.cc.
Referenced by G4GenericPolycone::DistanceToIn(), G4Polycone::DistanceToIn(), and G4Polyhedra::DistanceToIn().
|
virtual |
Implements G4VSolid.
Definition at line 367 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Definition at line 299 of file G4VCSGfaceted.cc.
G4double G4VCSGfaceted::GetAreaAccuracy | ( | ) | const |
Definition at line 514 of file G4VCSGfaceted.cc.
G4int G4VCSGfaceted::GetAreaStatistics | ( | ) | const |
Definition at line 505 of file G4VCSGfaceted.cc.
|
virtual |
Reimplemented from G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 543 of file G4VCSGfaceted.cc.
G4double G4VCSGfaceted::GetCubVolEpsilon | ( | ) | const |
Definition at line 476 of file G4VCSGfaceted.cc.
G4int G4VCSGfaceted::GetCubVolStatistics | ( | ) | const |
Definition at line 467 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 441 of file G4VCSGfaceted.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 407 of file G4VCSGfaceted.cc.
|
protected |
Definition at line 586 of file G4VCSGfaceted.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 565 of file G4VCSGfaceted.cc.
|
virtual |
Reimplemented from G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 554 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 201 of file G4VCSGfaceted.cc.
Referenced by DistanceToOut(), G4GenericPolycone::Inside(), G4Polycone::Inside(), and G4Polyhedra::Inside().
G4VCSGfaceted & G4VCSGfaceted::operator= | ( | const G4VCSGfaceted & | source | ) |
Definition at line 99 of file G4VCSGfaceted.cc.
Referenced by G4GenericPolycone::operator=(), G4Polycone::operator=(), and G4Polyhedra::operator=().
void G4VCSGfaceted::SetAreaAccuracy | ( | G4double | ep | ) |
Definition at line 533 of file G4VCSGfaceted.cc.
void G4VCSGfaceted::SetAreaStatistics | ( | G4int | st | ) |
Definition at line 523 of file G4VCSGfaceted.cc.
void G4VCSGfaceted::SetCubVolEpsilon | ( | G4double | ep | ) |
Definition at line 495 of file G4VCSGfaceted.cc.
void G4VCSGfaceted::SetCubVolStatistics | ( | G4int | st | ) |
Definition at line 485 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Reimplemented in G4GenericPolycone, G4Polycone, and G4Polyhedra.
Definition at line 450 of file G4VCSGfaceted.cc.
|
virtual |
Implements G4VSolid.
Definition at line 225 of file G4VCSGfaceted.cc.
|
protected |
Definition at line 110 of file G4VCSGfaceted.hh.
Referenced by CalculateExtent(), CopyStuff(), G4Polyhedra::Create(), G4GenericPolycone::Create(), G4Polycone::Create(), DeleteStuff(), DistanceTo(), DistanceToIn(), DistanceToOut(), GetExtent(), GetPointOnSurfaceGeneric(), Inside(), and SurfaceNormal().
|
protected |
Definition at line 111 of file G4VCSGfaceted.hh.
Referenced by CopyStuff(), G4GenericPolycone::GetCubicVolume(), G4Polycone::GetCubicVolume(), G4Polyhedra::GetCubicVolume(), GetCubicVolume(), SetCubVolEpsilon(), and SetCubVolStatistics().
|
mutableprotected |
Definition at line 114 of file G4VCSGfaceted.hh.
Referenced by G4GenericPolycone::CopyStuff(), G4Polycone::CopyStuff(), G4Polyhedra::CopyStuff(), CopyStuff(), DeleteStuff(), GetPolyhedron(), G4GenericPolycone::~G4GenericPolycone(), G4Polycone::~G4Polycone(), G4Polyhedra::~G4Polyhedra(), and ~G4VCSGfaceted().
|
mutableprotected |
Definition at line 113 of file G4VCSGfaceted.hh.
Referenced by G4GenericPolycone::CopyStuff(), G4Polycone::CopyStuff(), G4Polyhedra::CopyStuff(), CopyStuff(), and GetPolyhedron().
|
protected |
Definition at line 112 of file G4VCSGfaceted.hh.
Referenced by CopyStuff(), G4GenericPolycone::GetSurfaceArea(), G4Polycone::GetSurfaceArea(), G4Polyhedra::GetSurfaceArea(), GetSurfaceArea(), SetAreaAccuracy(), and SetAreaStatistics().
|
protected |
Definition at line 109 of file G4VCSGfaceted.hh.
Referenced by CalculateExtent(), CopyStuff(), G4Polyhedra::Create(), G4GenericPolycone::Create(), G4Polycone::Create(), DeleteStuff(), DistanceTo(), DistanceToIn(), DistanceToOut(), GetExtent(), GetPointOnSurfaceGeneric(), Inside(), StreamInfo(), and SurfaceNormal().