|
Geant4
10.00.p01
|
#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 | |
| G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pTransform, G4int &noPolygonVertices) const |
| 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 |
| G4double | EstimateCubicVolume (G4int nStat, G4double epsilon) const |
| G4double | EstimateSurfaceArea (G4int nStat, G4double ell) const |
Protected Attributes inherited from G4CSGSolid | |
| G4double | fCubicVolume |
| G4double | fSurfaceArea |
| G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
| G4double | kCarTolerance |
Definition at line 86 of file G4Sphere.hh.
|
private |
| Enumerator | |
|---|---|
| kNRMin | |
| kNRMax | |
| kNSPhi | |
| kNEPhi | |
| kNSTheta | |
| kNETheta | |
Definition at line 226 of file G4Sphere.hh.
|
private |
| Enumerator | |
|---|---|
| kNull | |
| kRMin | |
| kRMax | |
| kSPhi | |
| kEPhi | |
| kSTheta | |
| kETheta | |
Definition at line 222 of file G4Sphere.hh.
| G4Sphere::G4Sphere | ( | const G4String & | pName, |
| G4double | pRmin, | ||
| G4double | pRmax, | ||
| G4double | pSPhi, | ||
| G4double | pDPhi, | ||
| G4double | pSTheta, | ||
| G4double | pDTheta | ||
| ) |
Definition at line 90 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 145 of file G4Sphere.cc.
| G4Sphere::G4Sphere | ( | __void__ & | a | ) |
Definition at line 128 of file G4Sphere.cc.
| G4Sphere::G4Sphere | ( | const G4Sphere & | rhs | ) |
Definition at line 153 of file G4Sphere.cc.
|
private |
Definition at line 699 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, and sinSTheta.
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 228 of file G4Sphere.cc.
References G4VSolid::CalculateClippedPolygonExtent(), CreateRotatedVertices(), fFullSphere, fRmax, G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), Inside(), G4AffineTransform::Inverse(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), G4VoxelLimits::IsZLimited(), G4VSolid::kCarTolerance, kInfinity, kOutside, kXAxis, kYAxis, kZAxis, G4AffineTransform::NetTranslation(), and G4AffineTransform::TransformPoint().
Here is the call graph for this function:
|
inlineprivate |
|
inlineprivate |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 3010 of file G4Sphere.cc.
References G4Sphere().
Here is the call graph for this function:
|
virtual |
Reimplemented from G4VSolid.
Definition at line 217 of file G4Sphere.cc.
References G4VPVParameterisation::ComputeDimensions().
Here is the call graph for this function:
|
virtual |
|
private |
Definition at line 2874 of file G4Sphere.cc.
References G4VSolid::DumpInfo(), FatalException, fDPhi, fDTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmin, fSPhi, fSTheta, G4Exception(), kMaxMeshSections, kMeshAngleDefault, kMinMeshSections, and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 3178 of file G4Sphere.cc.
References G4VGraphicsScene::AddSolid().
Here is the call graph for this function:
|
virtual |
Implements G4VSolid.
Definition at line 872 of file G4Sphere.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, d2, eTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmaxTolerance, fRmin, fRminTolerance, fSTheta, halfAngTolerance, halfCarTolerance, kAngTolerance, G4VSolid::kCarTolerance, kInfinity, G4INCL::Math::pi, sinCPhi, sinEPhi, sinSPhi, tanETheta2, and tanSTheta2.
|
virtual |
Implements G4VSolid.
Definition at line 1804 of file G4Sphere.cc.
References cosCPhi, cosEPhi, cosSPhi, eTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmin, fSTheta, hDPhi, G4INCL::Math::pi, sinCPhi, sinEPhi, and sinSPhi.
|
virtual |
Implements G4VSolid.
Definition at line 1900 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, JustWarning, kAngTolerance, G4VSolid::kCarTolerance, kEPhi, kETheta, kInfinity, kNull, kRMax, kRMin, kSPhi, kSTheta, mm, G4INCL::Math::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 2782 of file G4Sphere.cc.
References cosCPhi, cosEPhi, cosSPhi, G4VSolid::DumpInfo(), eTheta, fFullPhiSphere, fRmax, fRmin, fSTheta, G4cout, G4endl, G4Exception(), Inside(), JustWarning, kOutside, mm, G4INCL::Math::pi, sinCPhi, sinEPhi, and sinSPhi.
Here is the call graph for this function:
|
inline |
Referenced by export_G4Sphere(), 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(), 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 3001 of file G4Sphere.cc.
|
virtual |
|
inline |
Referenced by 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(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
virtual |
Reimplemented from G4VSolid.
Definition at line 3043 of file G4Sphere.cc.
References cosEPhi, cosETheta, cosSPhi, cosSTheta, ePhi, eTheta, fDPhi, fDTheta, fFullPhiSphere, fRmax, fRmin, fSPhi, fSTheta, G4CSGSolid::GetRadiusInRing(), G4INCL::Math::pi, G4INCL::DeJongSpin::shoot(), sinEPhi, sinETheta, sinSPhi, sinSTheta, sqr(), tanETheta, and tanSTheta.
Here is the call graph for this function:
|
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(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
Here is the caller graph for this function:
|
inline |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 3125 of file G4Sphere.cc.
References cosETheta, cosSTheta, eTheta, fDPhi, fDTheta, fFullPhiSphere, fRmax, fRmin, fSTheta, G4CSGSolid::fSurfaceArea, G4INCL::Math::pi, sinETheta, and sinSTheta.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
virtual |
Implements G4VSolid.
Definition at line 473 of file G4Sphere.cc.
References ePhi, eTheta, fFullPhiSphere, fFullThetaSphere, fRmax, fRmaxTolerance, fRmin, fRminTolerance, fSPhi, fSTheta, halfAngTolerance, kInside, kOutside, kSurface, and G4INCL::Math::max().
Referenced by CalculateExtent(), and DistanceToOut().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 179 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 3019 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 570 of file G4Sphere.cc.
References ApproxSurfaceNormal(), cosEPhi, cosETheta, cosSPhi, cosSTheta, ePhi, eTheta, fFullPhiSphere, fFullSphere, fFullThetaSphere, fRmax, fRmin, fSPhi, fSTheta, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, kInfinity, G4INCL::Math::pi, sinEPhi, sinETheta, sinSPhi, and sinSTheta.
Here is the call graph for this function:
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 233 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 233 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 228 of file G4Sphere.hh.
Referenced by G4Sphere(), and operator=().
|
private |
Definition at line 247 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 247 of file G4Sphere.hh.
Referenced by CalculateExtent(), operator=(), and SurfaceNormal().
|
private |
Definition at line 247 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 233 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), G4Sphere(), GetExtent(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 228 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), and operator=().
|
private |
Definition at line 233 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), G4Sphere(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 228 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), and operator=().
|
private |
Definition at line 233 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 233 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 251 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 251 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), operator=(), and SurfaceNormal().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 228 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), and operator=().
|
private |
Definition at line 228 of file G4Sphere.hh.
Referenced by G4Sphere(), and operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 237 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), and operator=().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), and operator=().
|
private |
Definition at line 242 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().