Geant4  10.01.p03
G4SolidExtentList Class Reference

#include <G4SolidExtentList.hh>

+ Collaboration diagram for G4SolidExtentList:

Public Member Functions

 G4SolidExtentList ()
 
 G4SolidExtentList (const EAxis targetAxis, const G4VoxelLimits &voxelLimits)
 
 ~G4SolidExtentList ()
 
void AddSurface (const G4ClippablePolygon &surface)
 
G4bool GetExtent (G4double &min, G4double &max) const
 

Protected Attributes

EAxis axis
 
G4bool limited
 
G4double minLimit
 
G4double maxLimit
 
G4ClippablePolygon minSurface
 
G4ClippablePolygon maxSurface
 
G4ClippablePolygon minAbove
 
G4ClippablePolygon maxBelow
 

Detailed Description

Definition at line 54 of file G4SolidExtentList.hh.

Constructor & Destructor Documentation

G4SolidExtentList::G4SolidExtentList ( )

Definition at line 48 of file G4SolidExtentList.cc.

References axis, INT_MAX, kZAxis, limited, maxLimit, and minLimit.

G4SolidExtentList::G4SolidExtentList ( const EAxis  targetAxis,
const G4VoxelLimits voxelLimits 
)

Definition at line 60 of file G4SolidExtentList.cc.

References axis, G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMinExtent(), INT_MAX, G4VoxelLimits::IsLimited(), limited, maxLimit, and minLimit.

+ Here is the call graph for this function:

G4SolidExtentList::~G4SolidExtentList ( )

Definition at line 82 of file G4SolidExtentList.cc.

Member Function Documentation

void G4SolidExtentList::AddSurface ( const G4ClippablePolygon surface)

Definition at line 91 of file G4SolidExtentList.cc.

References axis, G4ClippablePolygon::BehindOf(), G4ClippablePolygon::GetExtent(), G4ClippablePolygon::InFrontOf(), G4INCL::Math::max(), maxBelow, maxLimit, maxSurface, G4INCL::Math::min(), minAbove, minLimit, and minSurface.

Referenced by G4Hype::AddPolyToExtent(), G4TwistedTubs::AddPolyToExtent(), G4EllipticalTube::CalculateExtent(), G4Hype::CalculateExtent(), G4EllipticalCone::CalculateExtent(), G4PolyPhiFace::CalculateExtent(), G4PolyconeSide::CalculateExtent(), and G4PolyhedraSide::CalculateExtent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4SolidExtentList::GetExtent ( G4double min,
G4double max 
) const

Definition at line 131 of file G4SolidExtentList.cc.

References axis, G4ClippablePolygon::Empty(), G4ClippablePolygon::GetExtent(), G4GeometryTolerance::GetInstance(), G4ClippablePolygon::GetNormal(), G4GeometryTolerance::GetSurfaceTolerance(), maxLimit, maxSurface, minAbove, minLimit, and minSurface.

Referenced by G4VCSGfaceted::CalculateExtent(), G4EllipticalTube::CalculateExtent(), G4Hype::CalculateExtent(), G4TwistedTubs::CalculateExtent(), and G4EllipticalCone::CalculateExtent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

EAxis G4SolidExtentList::axis
protected

Definition at line 70 of file G4SolidExtentList.hh.

Referenced by AddSurface(), G4SolidExtentList(), and GetExtent().

G4bool G4SolidExtentList::limited
protected

Definition at line 71 of file G4SolidExtentList.hh.

Referenced by G4SolidExtentList().

G4ClippablePolygon G4SolidExtentList::maxBelow
protected

Definition at line 75 of file G4SolidExtentList.hh.

Referenced by AddSurface().

G4double G4SolidExtentList::maxLimit
protected

Definition at line 73 of file G4SolidExtentList.hh.

Referenced by AddSurface(), G4SolidExtentList(), and GetExtent().

G4ClippablePolygon G4SolidExtentList::maxSurface
protected

Definition at line 75 of file G4SolidExtentList.hh.

Referenced by AddSurface(), and GetExtent().

G4ClippablePolygon G4SolidExtentList::minAbove
protected

Definition at line 75 of file G4SolidExtentList.hh.

Referenced by AddSurface(), and GetExtent().

G4double G4SolidExtentList::minLimit
protected

Definition at line 72 of file G4SolidExtentList.hh.

Referenced by AddSurface(), G4SolidExtentList(), and GetExtent().

G4ClippablePolygon G4SolidExtentList::minSurface
protected

Definition at line 75 of file G4SolidExtentList.hh.

Referenced by AddSurface(), and GetExtent().


The documentation for this class was generated from the following files: