Geant4-11
|
#include <G4VoxelLimits.hh>
Public Member Functions | |
void | AddLimit (const EAxis pAxis, const G4double pMin, const G4double pMax) |
G4bool | ClipToLimits (G4ThreeVector &pStart, G4ThreeVector &pEnd) const |
G4VoxelLimits ()=default | |
G4double | GetMaxExtent (const EAxis pAxis) const |
G4double | GetMaxXExtent () const |
G4double | GetMaxYExtent () const |
G4double | GetMaxZExtent () const |
G4double | GetMinExtent (const EAxis pAxis) const |
G4double | GetMinXExtent () const |
G4double | GetMinYExtent () const |
G4double | GetMinZExtent () const |
G4bool | Inside (const G4ThreeVector &pVec) const |
G4bool | IsLimited () const |
G4bool | IsLimited (const EAxis pAxis) const |
G4bool | IsXLimited () const |
G4bool | IsYLimited () const |
G4bool | IsZLimited () const |
G4int | OutCode (const G4ThreeVector &pVec) const |
~G4VoxelLimits ()=default | |
Private Attributes | |
G4double | fxAxisMax = kInfinity |
G4double | fxAxisMin = -kInfinity |
G4double | fyAxisMax = kInfinity |
G4double | fyAxisMin = -kInfinity |
G4double | fzAxisMax = kInfinity |
G4double | fzAxisMin = -kInfinity |
Definition at line 52 of file G4VoxelLimits.hh.
|
default |
|
default |
Definition at line 40 of file G4VoxelLimits.cc.
References fxAxisMax, fxAxisMin, fyAxisMax, fyAxisMin, fzAxisMax, fzAxisMin, kXAxis, kYAxis, kZAxis, pMax, and pMin.
Referenced by G4ReflectedSolid::CalculateExtent(), G4BoundingEnvelope::CalculateExtent(), G4ClippablePolygon::ClipAlongOneAxis(), G4VSolid::ClipPolygon(), G4DrawVoxels::ComputeVoxelPolyhedra(), and G4SmartVoxelHeader::RefineNodes().
G4bool G4VoxelLimits::ClipToLimits | ( | G4ThreeVector & | pStart, |
G4ThreeVector & | pEnd | ||
) | const |
Definition at line 76 of file G4VoxelLimits.cc.
References fxAxisMax, fxAxisMin, fyAxisMax, fyAxisMin, fzAxisMax, fzAxisMin, OutCode(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4VSolid::ClipPolygonToSimpleLimits(), and G4ClippablePolygon::ClipToSimpleLimits().
Referenced by G4SmartVoxelHeader::BuildNodes(), G4Torus::CalculateExtent(), G4ExtrudedSolid::CalculateExtent(), G4GenericPolycone::CalculateExtent(), G4Polycone::CalculateExtent(), G4Polyhedra::CalculateExtent(), G4TessellatedSolid::CalculateExtent(), G4BoundingEnvelope::CalculateExtent(), G4ClippablePolygon::ClipAlongOneAxis(), and G4SolidExtentList::G4SolidExtentList().
G4double G4VoxelLimits::GetMaxXExtent | ( | ) | const |
G4double G4VoxelLimits::GetMaxYExtent | ( | ) | const |
G4double G4VoxelLimits::GetMaxZExtent | ( | ) | const |
Referenced by G4SmartVoxelHeader::BuildNodes(), G4Torus::CalculateExtent(), G4ExtrudedSolid::CalculateExtent(), G4GenericPolycone::CalculateExtent(), G4Polycone::CalculateExtent(), G4Polyhedra::CalculateExtent(), G4TessellatedSolid::CalculateExtent(), G4BoundingEnvelope::CalculateExtent(), G4ClippablePolygon::ClipAlongOneAxis(), and G4SolidExtentList::G4SolidExtentList().
G4double G4VoxelLimits::GetMinXExtent | ( | ) | const |
G4double G4VoxelLimits::GetMinYExtent | ( | ) | const |
G4double G4VoxelLimits::GetMinZExtent | ( | ) | const |
G4bool G4VoxelLimits::Inside | ( | const G4ThreeVector & | pVec | ) | const |
Referenced by G4VSolid::ClipPolygonToSimpleLimits(), and G4ClippablePolygon::ClipToSimpleLimits().
G4bool G4VoxelLimits::IsLimited | ( | ) | const |
Referenced by G4SmartVoxelHeader::BuildNodes(), G4SmartVoxelHeader::BuildVoxelsWithinLimits(), G4BoundingEnvelope::CalculateExtent(), G4ClippablePolygon::Clip(), G4ClippablePolygon::ClipAlongOneAxis(), G4VSolid::ClipPolygon(), G4SolidExtentList::G4SolidExtentList(), and G4ClippablePolygon::PartialClip().
G4bool G4VoxelLimits::IsXLimited | ( | ) | const |
Referenced by G4VSolid::ClipPolygon(), operator<<(), OutCode(), and G4SmartVoxelHeader::RefineNodes().
G4bool G4VoxelLimits::IsYLimited | ( | ) | const |
Referenced by G4VSolid::ClipPolygon(), operator<<(), OutCode(), and G4SmartVoxelHeader::RefineNodes().
G4bool G4VoxelLimits::IsZLimited | ( | ) | const |
Referenced by G4VSolid::ClipPolygon(), operator<<(), OutCode(), and G4SmartVoxelHeader::RefineNodes().
G4int G4VoxelLimits::OutCode | ( | const G4ThreeVector & | pVec | ) | const |
Definition at line 221 of file G4VoxelLimits.cc.
References fxAxisMax, fxAxisMin, fyAxisMax, fyAxisMin, fzAxisMax, fzAxisMin, IsXLimited(), IsYLimited(), IsZLimited(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by ClipToLimits().
Definition at line 118 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
Definition at line 118 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
Definition at line 119 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
Definition at line 119 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
Definition at line 120 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().
Definition at line 120 of file G4VoxelLimits.hh.
Referenced by AddLimit(), ClipToLimits(), and OutCode().