Geant4
10.00.p01
|
#include <G4OTubs.hh>
Protected Types | |
enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kPZ, kMZ } |
enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNZ } |
Protected Member Functions | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pTransform) const |
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 |
Protected Member Functions inherited from G4CSGSolid | |
G4double | GetRadiusInRing (G4double rmin, G4double rmax) 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 | |
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 |
Protected Attributes inherited from G4CSGSolid | |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Definition at line 48 of file G4OTubs.hh.
|
protected |
Enumerator | |
---|---|
kNRMin | |
kNRMax | |
kNSPhi | |
kNEPhi | |
kNZ |
Definition at line 170 of file G4OTubs.hh.
|
protected |
Enumerator | |
---|---|
kNull | |
kRMin | |
kRMax | |
kSPhi | |
kEPhi | |
kPZ | |
kMZ |
Definition at line 166 of file G4OTubs.hh.
G4OTubs::G4OTubs | ( | const G4String & | pName, |
G4double | pRMin, | ||
G4double | pRMax, | ||
G4double | pDz, | ||
G4double | pSPhi, | ||
G4double | pDPhi | ||
) |
Definition at line 60 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 114 of file G4OTubs.cc.
G4OTubs::G4OTubs | ( | __void__ & | a | ) |
Definition at line 99 of file G4OTubs.cc.
G4OTubs::G4OTubs | ( | const G4OTubs & | rhs | ) |
Definition at line 122 of file G4OTubs.cc.
|
protectedvirtual |
Reimplemented in G4CutTubs.
Definition at line 644 of file G4OTubs.cc.
References G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4Exception(), JustWarning, kNEPhi, kNRMax, kNRMin, kNSPhi, and kNZ.
Referenced by SurfaceNormal().
|
virtual |
Implements G4VSolid.
Definition at line 172 of file G4OTubs.cc.
References G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), CreateRotatedVertices(), fDPhi, fDz, fRMax, fRMin, G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), Inside(), G4AffineTransform::Inverse(), G4AffineTransform::IsRotated(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), G4VoxelLimits::IsZLimited(), G4VSolid::kCarTolerance, kInfinity, kOutside, kXAxis, kYAxis, kZAxis, G4AffineTransform::NetTranslation(), and G4AffineTransform::TransformPoint().
|
inlineprotected |
|
inlineprotected |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1776 of file G4OTubs.cc.
References G4OTubs().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1883 of file G4OTubs.cc.
References fDPhi, fDz, fRMax, fRMin, and fSPhi.
Referenced by G4CutTubs::CreatePolyhedron().
|
protected |
Definition at line 1681 of file G4OTubs.cc.
References G4VSolid::DumpInfo(), FatalException, fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4Exception(), G4VSolid::kCarTolerance, kMaxMeshSections, kMeshAngleDefault, kMinMeshSections, and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 1878 of file G4OTubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 776 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 1196 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, G4INCL::Math::pi, sinCPhi, sinEPhi, and sinSPhi.
|
virtual |
Implements G4VSolid.
Definition at line 1613 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.
|
inline |
|
inline |
|
inline |
|
virtual |
Implements G4VSolid.
Definition at line 1767 of file G4OTubs.cc.
|
inline |
|
inline |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1808 of file G4OTubs.cc.
References fDPhi, fDz, fRMax, fRMin, fSPhi, G4CSGSolid::GetRadiusInRing(), and G4INCL::DeJongSpin::shoot().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
virtual |
Implements G4VSolid.
Definition at line 386 of file G4OTubs.cc.
References fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kInside, kOutside, and kSurface.
Referenced by CalculateExtent(), and DistanceToOut().
Definition at line 141 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 1785 of file G4OTubs.cc.
References degree, fDPhi, fDz, fRMax, fRMin, fSPhi, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 553 of file G4OTubs.cc.
References ApproxSurfaceNormal(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, and kInfinity.
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), and operator=().
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by operator=().
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 176 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), G4CutTubs::CalculateExtent(), CalculateExtent(), CreatePolyhedron(), G4CutTubs::CreateRotatedVertices(), CreateRotatedVertices(), 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 176 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), CalculateExtent(), G4CutTubs::CreatePolyhedron(), CreatePolyhedron(), G4CutTubs::CreateRotatedVertices(), CreateRotatedVertices(), 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 185 of file G4OTubs.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 176 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), G4CutTubs::CalculateExtent(), CalculateExtent(), CreatePolyhedron(), G4CutTubs::CreateRotatedVertices(), CreateRotatedVertices(), 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 176 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), G4CutTubs::CalculateExtent(), CalculateExtent(), CreatePolyhedron(), G4CutTubs::CreateRotatedVertices(), CreateRotatedVertices(), 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 176 of file G4OTubs.hh.
Referenced by G4CutTubs::ApproxSurfaceNormal(), ApproxSurfaceNormal(), CreatePolyhedron(), G4CutTubs::CreateRotatedVertices(), CreateRotatedVertices(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::GetMaxMinZ(), G4CutTubs::GetPointOnSurface(), GetPointOnSurface(), G4CutTubs::Inside(), Inside(), operator=(), G4CutTubs::StreamInfo(), StreamInfo(), G4CutTubs::SurfaceNormal(), and SurfaceNormal().
|
protected |
Definition at line 189 of file G4OTubs.hh.
Referenced by DistanceToOut(), G4OTubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 189 of file G4OTubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4OTubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 189 of file G4OTubs.hh.
Referenced by DistanceToIn(), G4OTubs(), Inside(), and operator=().
|
protected |
Definition at line 172 of file G4OTubs.hh.
Referenced by G4CutTubs::G4CutTubs(), G4OTubs(), and operator=().
|
protected |
Definition at line 172 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), G4CutTubs::G4CutTubs(), G4OTubs(), and operator=().
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 180 of file G4OTubs.hh.
Referenced by G4CutTubs::DistanceToIn(), DistanceToIn(), G4CutTubs::DistanceToOut(), DistanceToOut(), and operator=().