Geant4
10.03
|
#include <G4Sphere.hh>
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().
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().
|
virtual |
Implements G4VSolid.
Definition at line 289 of file G4Sphere.cc.
References G4BoundingEnvelope::CalculateExtent(), and Extent().
|
inlineprivate |
|
inlineprivate |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2764 of file G4Sphere.cc.
References G4Sphere().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 222 of file G4Sphere.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 2932 of file G4Sphere.cc.
References G4VGraphicsScene::AddSolid().
|
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.
|
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.
|
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().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
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().
|
inline |
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by export_G4Sphere(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
inline |
Referenced by export_G4Sphere(), Extent(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
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().
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.
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions().
|
inline |
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), and export_G4Sphere().
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 2773 of file G4Sphere.cc.
References degree, fDPhi, fDTheta, fRmax, fRmin, fSPhi, fSTheta, G4VSolid::GetName(), and mm.
|
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.
|
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=().