Geant4
10.03
|
#include <G4OTubs.hh>
Protected Types | |
enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kPZ, kMZ } |
enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNZ } |
Protected Member Functions | |
void | Initialize () |
void | CheckSPhiAngle (G4double sPhi) |
void | CheckDPhiAngle (G4double dPhi) |
void | CheckPhiAngles (G4double sPhi, G4double dPhi) |
void | InitializeTrigonometry () |
virtual G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
![]() | |
G4double | GetRadiusInRing (G4double rmin, G4double rmax) const |
![]() | |
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 | |
G4double | kRadTolerance |
G4double | kAngTolerance |
G4double | fRMin |
G4double | fRMax |
G4double | fDz |
G4double | fSPhi |
G4double | fDPhi |
G4double | sinCPhi |
G4double | cosCPhi |
G4double | cosHDPhiOT |
G4double | cosHDPhiIT |
G4double | sinSPhi |
G4double | cosSPhi |
G4double | sinEPhi |
G4double | cosEPhi |
G4bool | fPhiFullTube |
G4double | halfCarTolerance |
G4double | halfRadTolerance |
G4double | halfAngTolerance |
![]() | |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
![]() | |
G4double | kCarTolerance |
Definition at line 49 of file G4OTubs.hh.
|
protected |
Enumerator | |
---|---|
kNRMin | |
kNRMax | |
kNSPhi | |
kNEPhi | |
kNZ |
Definition at line 171 of file G4OTubs.hh.
|
protected |
Enumerator | |
---|---|
kNull | |
kRMin | |
kRMax | |
kSPhi | |
kEPhi | |
kPZ | |
kMZ |
Definition at line 167 of file G4OTubs.hh.
G4OTubs::G4OTubs | ( | const G4String & | pName, |
G4double | pRMin, | ||
G4double | pRMax, | ||
G4double | pDz, | ||
G4double | pSPhi, | ||
G4double | pDPhi | ||
) |
Definition at line 59 of file G4OTubs.cc.
References CheckPhiAngles(), FatalException, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, G4VSolid::kCarTolerance, and kRadTolerance.
Referenced by Clone().
|
virtual |
Definition at line 113 of file G4OTubs.cc.
G4OTubs::G4OTubs | ( | __void__ & | a | ) |
Definition at line 98 of file G4OTubs.cc.
G4OTubs::G4OTubs | ( | const G4OTubs & | rhs | ) |
Definition at line 121 of file G4OTubs.cc.
|
protectedvirtual |
Reimplemented in G4CutTubs.
Definition at line 581 of file G4OTubs.cc.
References G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4Exception(), JustWarning, kNEPhi, kNRMax, kNRMin, kNSPhi, kNZ, and twopi.
Referenced by SurfaceNormal().
|
virtual |
Implements G4VSolid.
Definition at line 213 of file G4OTubs.cc.
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4BoundingEnvelope::CalculateExtent(), deg, Extent(), GetCosEndPhi(), GetCosStartPhi(), GetDeltaPhiAngle(), GetInnerRadius(), GetOuterRadius(), GetSinEndPhi(), GetSinStartPhi(), GetZHalfLength(), and twopi.
|
inlineprotected |
|
inlineprotected |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1621 of file G4OTubs.cc.
References G4OTubs().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1728 of file G4OTubs.cc.
References fDPhi, fDz, fRMax, fRMin, and fSPhi.
Referenced by G4CutTubs::CreatePolyhedron().
|
virtual |
Implements G4VSolid.
Definition at line 1723 of file G4OTubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 713 of file G4OTubs.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosSPhi, fDz, fPhiFullTube, fRMax, fRMin, halfCarTolerance, halfRadTolerance, kInfinity, kRadTolerance, sinCPhi, sinEPhi, and sinSPhi.
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 1133 of file G4OTubs.cc.
References cosCPhi, cosEPhi, cosSPhi, d2, G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, G4VSolid::kCarTolerance, kEPhi, kInfinity, kMZ, kNull, kPZ, kRadTolerance, kRMax, kRMin, kSPhi, mm, pi, sinCPhi, sinEPhi, sinSPhi, and twopi.
|
virtual |
Implements G4VSolid.
Definition at line 1552 of file G4OTubs.cc.
References cosCPhi, cosEPhi, cosSPhi, G4VSolid::DumpInfo(), fDz, fPhiFullTube, fRMax, fRMin, G4cout, G4endl, G4Exception(), Inside(), JustWarning, kOutside, mm, sinCPhi, sinEPhi, and sinSPhi.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 171 of file G4OTubs.cc.
References G4GeomTools::DiskExtent(), G4VSolid::DumpInfo(), G4Exception(), GetCosEndPhi(), GetCosStartPhi(), GetDeltaPhiAngle(), GetInnerRadius(), G4VSolid::GetName(), GetOuterRadius(), GetSinEndPhi(), GetSinStartPhi(), GetZHalfLength(), JustWarning, and twopi.
Referenced by CalculateExtent().
|
inline |
Referenced by G4CutTubs::CalculateExtent(), CalculateExtent(), G4CutTubs::Extent(), and Extent().
|
inline |
Referenced by G4CutTubs::CalculateExtent(), CalculateExtent(), G4CutTubs::Extent(), and Extent().
|
inline |
Referenced by G4CutTubs::CalculateExtent(), CalculateExtent(), G4GDMLWriteSolids::CutTubeWrite(), G4CutTubs::Extent(), and Extent().
|
inline |
|
inline |
|
virtual |
Implements G4VSolid.
Definition at line 1612 of file G4OTubs.cc.
|
inline |
Referenced by G4CutTubs::CalculateExtent(), CalculateExtent(), G4GDMLWriteSolids::CutTubeWrite(), G4CutTubs::Extent(), and Extent().
|
inline |
Referenced by G4CutTubs::CalculateExtent(), CalculateExtent(), G4GDMLWriteSolids::CutTubeWrite(), G4CutTubs::Extent(), and Extent().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1653 of file G4OTubs.cc.
References fDPhi, fDz, fRMax, fRMin, fSPhi, G4CSGSolid::GetRadiusInRing(), G4INCL::DeJongSpin::shoot(), and twopi.
|
inline |
|
inline |
|
inline |
Referenced by G4CutTubs::CalculateExtent(), CalculateExtent(), G4CutTubs::Extent(), and Extent().
|
inline |
Referenced by G4CutTubs::CalculateExtent(), CalculateExtent(), G4CutTubs::Extent(), and Extent().
|
inline |
|
inline |
|
inline |
Referenced by CalculateExtent(), G4GDMLWriteSolids::CutTubeWrite(), G4CutTubs::Extent(), and Extent().
|
inlineprotected |
|
inlineprotected |
|
virtual |
Implements G4VSolid.
Definition at line 323 of file G4OTubs.cc.
References fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kInside, kOutside, kSurface, and twopi.
Referenced by DistanceToOut().
Definition at line 140 of file G4OTubs.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, kRadTolerance, G4CSGSolid::operator=(), sinCPhi, sinEPhi, and sinSPhi.
Referenced by G4CutTubs::operator=().
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 1630 of file G4OTubs.cc.
References degree, fDPhi, fDz, fRMax, fRMin, fSPhi, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 490 of file G4OTubs.cc.
References ApproxSurfaceNormal(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, kInfinity, and twopi.
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), and operator=().
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by operator=().
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 177 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), CreatePolyhedron(), G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::GetMaxMinZ(), G4CutTubs::GetPointOnSurface(), GetPointOnSurface(), G4CutTubs::Inside(), Inside(), operator=(), G4CutTubs::StreamInfo(), StreamInfo(), G4CutTubs::SurfaceNormal(), and SurfaceNormal().
|
protected |
Definition at line 177 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), G4CutTubs::CreatePolyhedron(), CreatePolyhedron(), G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::GetCutZ(), G4CutTubs::GetMaxMinZ(), G4CutTubs::GetPointOnSurface(), GetPointOnSurface(), G4CutTubs::Inside(), Inside(), G4CutTubs::IsCrossingCutPlanes(), operator=(), G4CutTubs::StreamInfo(), StreamInfo(), G4CutTubs::SurfaceNormal(), and SurfaceNormal().
|
protected |
Definition at line 186 of file G4OTubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 177 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), CreatePolyhedron(), G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::GetMaxMinZ(), G4CutTubs::GetPointOnSurface(), GetPointOnSurface(), G4CutTubs::Inside(), Inside(), G4CutTubs::IsCrossingCutPlanes(), operator=(), G4CutTubs::StreamInfo(), StreamInfo(), G4CutTubs::SurfaceNormal(), and SurfaceNormal().
|
protected |
Definition at line 177 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), CreatePolyhedron(), G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::GetMaxMinZ(), G4CutTubs::GetPointOnSurface(), GetPointOnSurface(), G4CutTubs::Inside(), Inside(), operator=(), G4CutTubs::StreamInfo(), StreamInfo(), G4CutTubs::SurfaceNormal(), and SurfaceNormal().
|
protected |
Definition at line 177 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), CreatePolyhedron(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::GetMaxMinZ(), G4CutTubs::GetPointOnSurface(), GetPointOnSurface(), G4CutTubs::Inside(), Inside(), operator=(), G4CutTubs::StreamInfo(), StreamInfo(), G4CutTubs::SurfaceNormal(), and SurfaceNormal().
|
protected |
Definition at line 190 of file G4OTubs.hh.
Referenced by DistanceToOut(), G4OTubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 190 of file G4OTubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4OTubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 190 of file G4OTubs.hh.
Referenced by DistanceToIn(), G4OTubs(), Inside(), and operator=().
|
protected |
Definition at line 173 of file G4OTubs.hh.
Referenced by G4CutTubs::G4CutTubs(), G4OTubs(), and operator=().
|
protected |
Definition at line 173 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::G4CutTubs(), G4OTubs(), and operator=().
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 181 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().