|
Geant4
10.03
|
#include <G4Sphere.hh>
Inheritance diagram for G4Sphere:
Collaboration diagram for G4Sphere:Private Types | |
| enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kSTheta, kETheta } |
| enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNSTheta, kNETheta } |
Private Member Functions | |
| void | Initialize () |
| void | CheckThetaAngles (G4double sTheta, G4double dTheta) |
| void | CheckSPhiAngle (G4double sPhi) |
| void | CheckDPhiAngle (G4double dPhi) |
| void | CheckPhiAngles (G4double sPhi, G4double dPhi) |
| void | InitializePhiTrigonometry () |
| void | InitializeThetaTrigonometry () |
| G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Additional Inherited Members | |
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 |
Protected Attributes inherited from G4CSGSolid | |
| G4double | fCubicVolume |
| G4double | fSurfaceArea |
| G4bool | fRebuildPolyhedron |
| G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
| G4double | kCarTolerance |
Definition at line 87 of file G4Sphere.hh.
|
private |
| Enumerator | |
|---|---|
| kNRMin | |
| kNRMax | |
| kNSPhi | |
| kNEPhi | |
| kNSTheta | |
| kNETheta | |
Definition at line 230 of file G4Sphere.hh.
|
private |
| Enumerator | |
|---|---|
| kNull | |
| kRMin | |
| kRMax | |
| kSPhi | |
| kEPhi | |
| kSTheta | |
| kETheta | |
Definition at line 226 of file G4Sphere.hh.
| G4Sphere::G4Sphere | ( | const G4String & | pName, |
| G4double | pRmin, | ||
| G4double | pRmax, | ||
| G4double | pSPhi, | ||
| G4double | pDPhi, | ||
| G4double | pSTheta, | ||
| G4double | pDTheta | ||
| ) |
Definition at line 95 of file G4Sphere.cc.
References CheckPhiAngles(), CheckThetaAngles(), FatalException, fEpsilon, fRmax, fRmaxTolerance, fRmin, fRminTolerance, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfAngTolerance, halfCarTolerance, kAngTolerance, G4VSolid::kCarTolerance, kRadTolerance, and G4INCL::Math::max().
Referenced by Clone().
Here is the call graph for this function:
Here is the caller graph for this function:| G4Sphere::~G4Sphere | ( | ) |
Definition at line 150 of file G4Sphere.cc.
| G4Sphere::G4Sphere | ( | __void__ & | a | ) |
Definition at line 133 of file G4Sphere.cc.
| G4Sphere::G4Sphere | ( | const G4Sphere & | rhs | ) |
Definition at line 158 of file G4Sphere.cc.
|
private |
Definition at line 553 of file G4Sphere.cc.
References cosEPhi, cosETheta, cosSPhi, cosSTheta, G4VSolid::DumpInfo(), fDPhi, fDTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmin, fSPhi, fSTheta, G4Exception(), JustWarning, kNEPhi, kNETheta, kNRMax, kNRMin, kNSPhi, kNSTheta, sinEPhi, sinETheta, sinSPhi, sinSTheta, and twopi.
Referenced by SurfaceNormal().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 289 of file G4Sphere.cc.
References G4BoundingEnvelope::CalculateExtent(), and Extent().
Here is the call graph for this function:
|
inlineprivate |
|
inlineprivate |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2764 of file G4Sphere.cc.
References G4Sphere().
Here is the call graph for this function:
|
virtual |
Reimplemented from G4VSolid.
Definition at line 222 of file G4Sphere.cc.
References G4VPVParameterisation::ComputeDimensions().
Here is the call graph for this function:
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 2932 of file G4Sphere.cc.
References G4VGraphicsScene::AddSolid().
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 726 of file G4Sphere.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, d2, eTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmaxTolerance, fRmin, fRminTolerance, fSTheta, halfAngTolerance, halfCarTolerance, halfpi, kAngTolerance, G4VSolid::kCarTolerance, kInfinity, pi, sinCPhi, sinEPhi, sinSPhi, tanETheta2, and tanSTheta2.
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 1771 of file G4Sphere.cc.
References cosCPhi, cosEPhi, cosSPhi, d2, G4VSolid::DumpInfo(), ePhi, eTheta, fDPhi, fFullPhiSphere, fFullThetaSphere, fRmax, fRmaxTolerance, fRmin, fRminTolerance, fSPhi, fSTheta, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, halfpi, JustWarning, kAngTolerance, G4VSolid::kCarTolerance, kEPhi, kETheta, kInfinity, kNull, kRMax, kRMin, kSPhi, kSTheta, mm, pi, s, sinCPhi, sinEPhi, sinETheta, sinSPhi, tanETheta, tanETheta2, tanSTheta, and tanSTheta2.
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 2662 of file G4Sphere.cc.
References cosCPhi, cosEPhi, cosSPhi, G4VSolid::DumpInfo(), eTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmin, fSTheta, G4cout, G4endl, G4Exception(), Inside(), JustWarning, kInfinity, kOutside, G4INCL::Math::min(), mm, pi, sinCPhi, sinEPhi, and sinSPhi.
Here is the call graph for this function:
|
virtual |
Reimplemented from G4VSolid.
Definition at line 233 of file G4Sphere.cc.
References G4GeomTools::DiskExtent(), G4VSolid::DumpInfo(), G4Exception(), GetCosEndPhi(), GetCosEndTheta(), GetCosStartPhi(), GetCosStartTheta(), GetDeltaPhiAngle(), GetDeltaThetaAngle(), GetInnerRadius(), G4VSolid::GetName(), GetOuterRadius(), GetSinEndPhi(), GetSinEndTheta(), GetSinStartPhi(), GetSinStartTheta(), GetStartThetaAngle(), halfpi, JustWarning, G4INCL::Math::max(), G4INCL::Math::min(), pi, and twopi.
Referenced by CalculateExtent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
inline |
|
inline |
|
virtual |
Implements G4VSolid.
Definition at line 2755 of file G4Sphere.cc.
|
virtual |
|
inline |
Referenced by Extent(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
inline |
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2797 of file G4Sphere.cc.
References cosEPhi, cosETheta, cosSPhi, cosSTheta, ePhi, eTheta, fDPhi, fDTheta, fFullPhiSphere, fRmax, fRmin, fSPhi, fSTheta, G4CSGSolid::GetRadiusInRing(), halfpi, pi, G4INCL::DeJongSpin::shoot(), sinEPhi, sinETheta, sinSPhi, sinSTheta, sqr(), tanETheta, and tanSTheta.
Here is the call graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by export_G4Sphere(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
inline |
|
virtual |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
virtual |
Implements G4VSolid.
Definition at line 310 of file G4Sphere.cc.
References ePhi, eTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmaxTolerance, fRmin, fRminTolerance, fSPhi, fSTheta, halfAngTolerance, kInside, kOutside, kSurface, G4INCL::Math::max(), pi, and twopi.
Referenced by DistanceToOut().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 184 of file G4Sphere.cc.
References cosCPhi, cosEPhi, cosETheta, cosHDPhiIT, cosHDPhiOT, cosSPhi, cosSTheta, cPhi, ePhi, eTheta, fDPhi, fDTheta, fEpsilon, fFullPhiSphere, fFullSphere, fFullThetaSphere, fRmax, fRmaxTolerance, fRmin, fRminTolerance, fSPhi, fSTheta, halfAngTolerance, halfCarTolerance, hDPhi, kAngTolerance, kRadTolerance, G4CSGSolid::operator=(), sinCPhi, sinEPhi, sinETheta, sinSPhi, sinSTheta, tanETheta, tanETheta2, tanSTheta, and tanSTheta2.
Here is the call graph for this function:
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
Here is the caller graph for this function:
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
Here is the caller graph for this function:
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions().
Here is the caller graph for this function:
|
inline |
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
Here is the caller graph for this function:Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
Here is the caller graph for this function:
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
Here is the caller graph for this function:
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 2773 of file G4Sphere.cc.
References degree, fDPhi, fDTheta, fRmax, fRmin, fSPhi, fSTheta, G4VSolid::GetName(), and mm.
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 424 of file G4Sphere.cc.
References ApproxSurfaceNormal(), cosEPhi, cosETheta, cosSPhi, cosSTheta, ePhi, eTheta, fFullPhiSphere, fFullSphere, fFullThetaSphere, fRmax, fRmin, fSPhi, fSTheta, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, kInfinity, pi, sinEPhi, sinETheta, sinSPhi, sinSTheta, and twopi.
Here is the call graph for this function:
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by operator=().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 232 of file G4Sphere.hh.
Referenced by G4Sphere(), and operator=().
|
private |
Definition at line 251 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 251 of file G4Sphere.hh.
Referenced by operator=(), and SurfaceNormal().
|
private |
Definition at line 251 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4Sphere(), GetExtent(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 232 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), and operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), G4Sphere(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 232 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), and operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 255 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 255 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), operator=(), and SurfaceNormal().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 232 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), and operator=().
|
private |
Definition at line 232 of file G4Sphere.hh.
Referenced by G4Sphere(), and operator=().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 241 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), and operator=().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), and operator=().
|
private |
Definition at line 246 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().