Geant4  10.01.p03
G4UTrap Class Reference

#include <G4UTrap.hh>

+ Inheritance diagram for G4UTrap:
+ Collaboration diagram for G4UTrap:

Public Member Functions

 G4UTrap (const G4String &pName, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pAlp1, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlp2)
 
 G4UTrap (const G4String &pName, const G4ThreeVector pt[8])
 
 G4UTrap (const G4String &pName, G4double pZ, G4double pY, G4double pX, G4double pLTX)
 
 G4UTrap (const G4String &pName, G4double pDx1, G4double pDx2, G4double pDy1, G4double pDy2, G4double pDz)
 
 G4UTrap (const G4String &pName, G4double pDx, G4double pDy, G4double pDz, G4double pAlpha, G4double pTheta, G4double pPhi)
 
 G4UTrap (const G4String &pName)
 
 ~G4UTrap ()
 
void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
G4VSolidClone () const
 
UTrapGetShape () const
 
G4double GetZHalfLength () const
 
G4double GetYHalfLength1 () const
 
G4double GetXHalfLength1 () const
 
G4double GetXHalfLength2 () const
 
G4double GetTanAlpha1 () const
 
G4double GetYHalfLength2 () const
 
G4double GetXHalfLength3 () const
 
G4double GetXHalfLength4 () const
 
G4double GetTanAlpha2 () const
 
TrapSidePlane GetSidePlane (G4int n) const
 
G4ThreeVector GetSymAxis () const
 
void SetAllParameters (G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pAlp1, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlp2)
 
void SetPlanes (const G4ThreeVector pt[8])
 
 G4UTrap (__void__ &)
 
 G4UTrap (const G4UTrap &rhs)
 
G4UTrapoperator= (const G4UTrap &rhs)
 
G4PolyhedronCreatePolyhedron () const
 
- Public Member Functions inherited from G4USolid
 G4USolid (const G4String &pName, VUSolid *shape)
 
virtual ~G4USolid ()
 
G4bool operator== (const G4USolid &s) const
 
virtual G4bool CalculateExtent (const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
 
virtual EInside Inside (const G4ThreeVector &p) const
 
virtual G4ThreeVector SurfaceNormal (const G4ThreeVector &p) const
 
virtual G4double DistanceToIn (const G4ThreeVector &p, const G4ThreeVector &v) const
 
virtual G4double DistanceToIn (const G4ThreeVector &p) const
 
virtual G4double DistanceToOut (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
 
virtual G4double DistanceToOut (const G4ThreeVector &p) const
 
virtual G4double GetCubicVolume ()
 
virtual G4double GetSurfaceArea ()
 
virtual G4GeometryType GetEntityType () const
 
virtual G4ThreeVector GetPointOnSurface () const
 
virtual std::ostream & StreamInfo (std::ostream &os) const
 
virtual void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
virtual G4VisExtent GetExtent () const
 
virtual G4PolyhedronGetPolyhedron () const
 
 G4USolid (__void__ &)
 
 G4USolid (const G4USolid &rhs)
 
G4USolidoperator= (const G4USolid &rhs)
 
VUSolidGetSolid () const
 
- Public Member Functions inherited from G4VSolid
 G4VSolid (const G4String &name)
 
virtual ~G4VSolid ()
 
G4bool operator== (const G4VSolid &s) const
 
G4String GetName () const
 
void SetName (const G4String &name)
 
G4double GetTolerance () const
 
void DumpInfo () const
 
virtual const G4VSolidGetConstituentSolid (G4int no) const
 
virtual G4VSolidGetConstituentSolid (G4int no)
 
virtual const G4DisplacedSolidGetDisplacedSolidPtr () const
 
virtual G4DisplacedSolidGetDisplacedSolidPtr ()
 
 G4VSolid (__void__ &)
 
 G4VSolid (const G4VSolid &rhs)
 
G4VSolidoperator= (const G4VSolid &rhs)
 

Additional Inherited Members

- Protected Member Functions inherited from G4USolid
G4ThreeVectorListCreateRotatedVertices (const G4AffineTransform &pT) const
 
- 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
 
G4double EstimateCubicVolume (G4int nStat, G4double epsilon) const
 
G4double EstimateSurfaceArea (G4int nStat, G4double ell) const
 
- Protected Attributes inherited from G4USolid
VUSolidfShape
 
G4bool fRebuildPolyhedron
 
G4PolyhedronfPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Detailed Description

Definition at line 50 of file G4UTrap.hh.

Constructor & Destructor Documentation

G4UTrap::G4UTrap ( const G4String pName,
G4double  pDz,
G4double  pTheta,
G4double  pPhi,
G4double  pDy1,
G4double  pDx1,
G4double  pDx2,
G4double  pAlp1,
G4double  pDy2,
G4double  pDx3,
G4double  pDx4,
G4double  pAlp2 
)

Definition at line 42 of file G4UTrap.cc.

Referenced by Clone().

+ Here is the caller graph for this function:

G4UTrap::G4UTrap ( const G4String pName,
const G4ThreeVector  pt[8] 
)

Definition at line 54 of file G4UTrap.cc.

References SetPlanes().

+ Here is the call graph for this function:

G4UTrap::G4UTrap ( const G4String pName,
G4double  pZ,
G4double  pY,
G4double  pX,
G4double  pLTX 
)

Definition at line 61 of file G4UTrap.cc.

G4UTrap::G4UTrap ( const G4String pName,
G4double  pDx1,
G4double  pDx2,
G4double  pDy1,
G4double  pDy2,
G4double  pDz 
)

Definition at line 69 of file G4UTrap.cc.

G4UTrap::G4UTrap ( const G4String pName,
G4double  pDx,
G4double  pDy,
G4double  pDz,
G4double  pAlpha,
G4double  pTheta,
G4double  pPhi 
)

Definition at line 77 of file G4UTrap.cc.

G4UTrap::G4UTrap ( const G4String pName)

Definition at line 84 of file G4UTrap.cc.

G4UTrap::~G4UTrap ( )

Definition at line 103 of file G4UTrap.cc.

G4UTrap::G4UTrap ( __void__ &  a)

Definition at line 94 of file G4UTrap.cc.

G4UTrap::G4UTrap ( const G4UTrap rhs)

Definition at line 111 of file G4UTrap.cc.

Member Function Documentation

G4VSolid * G4UTrap::Clone ( ) const
virtual

Reimplemented from G4USolid.

Definition at line 149 of file G4UTrap.cc.

References G4UTrap().

+ Here is the call graph for this function:

void G4UTrap::ComputeDimensions ( G4VPVParameterisation p,
const G4int  n,
const G4VPhysicalVolume pRep 
)
virtual

Reimplemented from G4USolid.

Definition at line 138 of file G4UTrap.cc.

References G4VPVParameterisation::ComputeDimensions().

+ Here is the call graph for this function:

G4Polyhedron * G4UTrap::CreatePolyhedron ( ) const
virtual

Reimplemented from G4USolid.

Definition at line 158 of file G4UTrap.cc.

References GetShape(), GetTanAlpha1(), GetTanAlpha2(), UTrap::GetThetaCphi(), UTrap::GetThetaSphi(), GetXHalfLength1(), GetXHalfLength2(), GetXHalfLength3(), GetXHalfLength4(), GetYHalfLength1(), GetYHalfLength2(), and GetZHalfLength().

+ Here is the call graph for this function:

UTrap * G4UTrap::GetShape ( ) const
inline

Definition at line 142 of file G4UTrap.hh.

References G4USolid::fShape.

Referenced by CreatePolyhedron(), GetSidePlane(), GetSymAxis(), GetTanAlpha1(), GetTanAlpha2(), GetXHalfLength1(), GetXHalfLength2(), GetXHalfLength3(), GetXHalfLength4(), GetYHalfLength1(), GetYHalfLength2(), GetZHalfLength(), SetAllParameters(), and SetPlanes().

+ Here is the caller graph for this function:

TrapSidePlane G4UTrap::GetSidePlane ( G4int  n) const
inline

Definition at line 183 of file G4UTrap.hh.

References UTrapSidePlane::a, UTrapSidePlane::b, UTrapSidePlane::c, UTrapSidePlane::d, GetShape(), and UTrap::GetSidePlane().

+ Here is the call graph for this function:

G4ThreeVector G4UTrap::GetSymAxis ( ) const
inline

Definition at line 189 of file G4UTrap.hh.

References GetShape(), UTrap::GetSymAxis(), UVector3::x(), UVector3::y(), and UVector3::z().

+ Here is the call graph for this function:

G4double G4UTrap::GetTanAlpha1 ( ) const
inline

Definition at line 163 of file G4UTrap.hh.

References GetShape(), and UTrap::GetTanAlpha1().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetTanAlpha2 ( ) const
inline

Definition at line 179 of file G4UTrap.hh.

References GetShape(), and UTrap::GetTanAlpha2().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetXHalfLength1 ( ) const
inline

Definition at line 155 of file G4UTrap.hh.

References GetShape(), and UTrap::GetXHalfLength1().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetXHalfLength2 ( ) const
inline

Definition at line 159 of file G4UTrap.hh.

References GetShape(), and UTrap::GetXHalfLength2().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetXHalfLength3 ( ) const
inline

Definition at line 171 of file G4UTrap.hh.

References GetShape(), and UTrap::GetXHalfLength3().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetXHalfLength4 ( ) const
inline

Definition at line 175 of file G4UTrap.hh.

References GetShape(), and UTrap::GetXHalfLength4().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetYHalfLength1 ( ) const
inline

Definition at line 151 of file G4UTrap.hh.

References GetShape(), and UTrap::GetYHalfLength1().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetYHalfLength2 ( ) const
inline

Definition at line 167 of file G4UTrap.hh.

References GetShape(), and UTrap::GetYHalfLength2().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4UTrap::GetZHalfLength ( ) const
inline

Definition at line 147 of file G4UTrap.hh.

References GetShape(), and UTrap::GetZHalfLength().

Referenced by CreatePolyhedron().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4UTrap & G4UTrap::operator= ( const G4UTrap rhs)

Definition at line 120 of file G4UTrap.cc.

References G4USolid::operator=().

+ Here is the call graph for this function:

void G4UTrap::SetAllParameters ( G4double  pDz,
G4double  pTheta,
G4double  pPhi,
G4double  pDy1,
G4double  pDx1,
G4double  pDx2,
G4double  pAlp1,
G4double  pDy2,
G4double  pDx3,
G4double  pDx4,
G4double  pAlp2 
)
inline

Definition at line 196 of file G4UTrap.hh.

References G4USolid::fRebuildPolyhedron, GetShape(), and UTrap::SetAllParameters().

+ Here is the call graph for this function:

void G4UTrap::SetPlanes ( const G4ThreeVector  pt[8])
inline

Definition at line 208 of file G4UTrap.hh.

References G4USolid::fRebuildPolyhedron, GetShape(), UTrap::SetPlanes(), and z.

Referenced by G4UTrap().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


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