Geant4
10.02.p02
|
#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 | |
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 |
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 227 of file G4Sphere.hh.
|
private |
Enumerator | |
---|---|
kNull | |
kRMin | |
kRMax | |
kSPhi | |
kEPhi | |
kSTheta | |
kETheta |
Definition at line 223 of file G4Sphere.hh.
G4Sphere::G4Sphere | ( | const G4String & | pName, |
G4double | pRmin, | ||
G4double | pRmax, | ||
G4double | pSPhi, | ||
G4double | pDPhi, | ||
G4double | pSTheta, | ||
G4double | pDTheta | ||
) |
Definition at line 89 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 144 of file G4Sphere.cc.
G4Sphere::G4Sphere | ( | __void__ & | a | ) |
Definition at line 127 of file G4Sphere.cc.
G4Sphere::G4Sphere | ( | const G4Sphere & | rhs | ) |
Definition at line 152 of file G4Sphere.cc.
|
private |
Definition at line 715 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 227 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().
|
inlineprivate |
|
inlineprivate |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 3054 of file G4Sphere.cc.
References G4Sphere().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 216 of file G4Sphere.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
|
private |
Definition at line 2918 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().
|
virtual |
Implements G4VSolid.
Definition at line 3222 of file G4Sphere.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 888 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 1932 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 2817 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.
|
inline |
Referenced by export_G4Sphere(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
inline |
Referenced by export_G4Sphere(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
inline |
|
inline |
|
virtual |
Implements G4VSolid.
Definition at line 3045 of file G4Sphere.cc.
|
virtual |
|
inline |
Referenced by G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
inline |
|
inline |
Referenced by export_G4Sphere(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 3087 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 |
Referenced by export_G4Sphere(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
inline |
Referenced by export_G4Sphere(), G4tgbGeometryDumper::GetSolidParams(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4GDMLWriteParamvol::Sphere_dimensionsWrite(), and G4GDMLWriteSolids::SphereWrite().
|
inline |
|
virtual |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
virtual |
Implements G4VSolid.
Definition at line 472 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 CalculateExtent(), and DistanceToOut().
Definition at line 178 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 3063 of file G4Sphere.cc.
References degree, fDPhi, fDTheta, fRmax, fRmin, fSPhi, fSTheta, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 586 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 238 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by operator=().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 234 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 234 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and StreamInfo().
|
private |
Definition at line 229 of file G4Sphere.hh.
Referenced by G4Sphere(), and operator=().
|
private |
Definition at line 248 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 248 of file G4Sphere.hh.
Referenced by CalculateExtent(), operator=(), and SurfaceNormal().
|
private |
Definition at line 248 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 234 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 229 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), and operator=().
|
private |
Definition at line 234 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), G4Sphere(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 229 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), and operator=().
|
private |
Definition at line 234 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 234 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 252 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 252 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), operator=(), and SurfaceNormal().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 229 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Sphere(), and operator=().
|
private |
Definition at line 229 of file G4Sphere.hh.
Referenced by G4Sphere(), and operator=().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToOut(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 238 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by ApproxSurfaceNormal(), GetPointOnSurface(), GetSurfaceArea(), operator=(), and SurfaceNormal().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), and operator=().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by DistanceToOut(), GetPointOnSurface(), and operator=().
|
private |
Definition at line 243 of file G4Sphere.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().