|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4SolidExtentList is utility class designed for calculating the extent of a CSG-like solid for a voxel. More...
#include <G4SolidExtentList.hh>
Public Member Functions | |
| G4SolidExtentList () | |
| G4SolidExtentList (const EAxis targetAxis, const G4VoxelLimits &voxelLimits) | |
| ~G4SolidExtentList ()=default | |
| void | AddSurface (const G4ClippablePolygon &surface) |
| G4bool | GetExtent (G4double &min, G4double &max) const |
G4SolidExtentList is utility class designed for calculating the extent of a CSG-like solid for a voxel.
Definition at line 50 of file G4SolidExtentList.hh.
| G4SolidExtentList::G4SolidExtentList | ( | ) |
Default Constructor.
Definition at line 37 of file G4SolidExtentList.cc.
| G4SolidExtentList::G4SolidExtentList | ( | const EAxis | targetAxis, |
| const G4VoxelLimits & | voxelLimits ) |
Constructor provided axis and limits.
| [in] | targetAxis | Axis along which compute the extent. |
| [in] | voxelLimits | The limiting space dictated by voxels. |
Definition at line 46 of file G4SolidExtentList.cc.
|
default |
Default Destructor.
| void G4SolidExtentList::AddSurface | ( | const G4ClippablePolygon & | surface | ) |
Categorises polygon surfaces.
Definition at line 67 of file G4SolidExtentList.cc.
Referenced by G4PolyconeSide::CalculateExtent(), G4PolyhedraSide::CalculateExtent(), and G4PolyPhiFace::CalculateExtent().
Returns extent after processing all surfaces.
| [out] | min | The minimum extent |
| [out] | max | The maximum extent |
Definition at line 104 of file G4SolidExtentList.cc.
Referenced by G4VCSGfaceted::CalculateExtent().