Geant4
10.01
|
#include <G4Cons.hh>
Private Types | |
enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kPZ, kMZ } |
enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNZ } |
Private 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 () |
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 |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
|
private |
|
private |
G4Cons::G4Cons | ( | const G4String & | pName, |
G4double | pRmin1, | ||
G4double | pRmax1, | ||
G4double | pRmin2, | ||
G4double | pRmax2, | ||
G4double | pDz, | ||
G4double | pSPhi, | ||
G4double | pDPhi | ||
) |
Definition at line 82 of file G4Cons.cc.
References CheckPhiAngles(), e3, FatalException, fRmin1, fRmin2, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, G4VSolid::kCarTolerance, and kRadTolerance.
Referenced by Clone().
|
private |
Definition at line 594 of file G4Cons.cc.
References G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4Exception(), JustWarning, kNEPhi, kNRMax, kNRMin, kNSPhi, and kNZ.
Referenced by SurfaceNormal().
|
virtual |
Implements G4VSolid.
Definition at line 272 of file G4Cons.cc.
References G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), CreateRotatedVertices(), fDPhi, fDz, fRmax1, fRmax2, fRmin1, fRmin2, 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().
|
inlineprivate |
|
inlineprivate |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 260 of file G4Cons.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
|
private |
Definition at line 2161 of file G4Cons.cc.
References G4VSolid::DumpInfo(), FatalException, fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4Exception(), kMaxMeshSections, kMeshAngleDefault, kMinMeshSections, and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 2379 of file G4Cons.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 720 of file G4Cons.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, halfCarTolerance, halfRadTolerance, kInfinity, kRadTolerance, sinCPhi, sinEPhi, and sinSPhi.
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 1452 of file G4Cons.cc.
References cosCPhi, cosEPhi, cosSPhi, degree, G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, halfRadTolerance, 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 2075 of file G4Cons.cc.
References cosCPhi, cosEPhi, cosSPhi, degree, G4VSolid::DumpInfo(), fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, G4cout, G4endl, G4Exception(), Inside(), JustWarning, kInfinity, kOutside, mm, sinCPhi, sinEPhi, and sinSPhi.
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsPhi::G4ParameterisationConsPhi(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsPhi::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
|
inline |
|
virtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsRho::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4VParameterisationCons::G4VParameterisationCons(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsRho::G4ParameterisationConsRho(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsRho::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4VParameterisationCons::G4VParameterisationCons(), and G4tgbGeometryDumper::GetSolidParams().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 2292 of file G4Cons.cc.
References fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4CSGSolid::GetRadiusInRing(), G4INCL::DeJongSpin::shoot(), and sqr().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4VParameterisationCons::G4VParameterisationCons(), and G4tgbGeometryDumper::GetSolidParams().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), G4ParameterisationConsZ::ComputeTransformation(), G4GDMLWriteParamvol::Cone_dimensionsWrite(), G4GDMLWriteSolids::ConeWrite(), export_G4Cons(), G4ParameterisationConsZ::G4ParameterisationConsZ(), G4VParameterisationCons::G4VParameterisationCons(), G4ParameterisationConsZ::GetMaxParameter(), and G4tgbGeometryDumper::GetSolidParams().
|
inlineprivate |
|
inlineprivate |
|
virtual |
Implements G4VSolid.
Definition at line 205 of file G4Cons.cc.
References fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kInside, kOutside, and kSurface.
Referenced by CalculateExtent(), and DistanceToOut().
Definition at line 172 of file G4Cons.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, kRadTolerance, G4CSGSolid::operator=(), sinCPhi, sinEPhi, and sinSPhi.
|
inline |
Referenced by G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
|
inline |
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), export_G4Cons(), and GammaKnifeDetectorConstruction::UpdateHelmet().
|
inline |
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), export_G4Cons(), and GammaKnifeDetectorConstruction::UpdateHelmet().
|
inline |
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
|
inline |
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
Referenced by G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
|
inline |
Referenced by UltraFresnelLensParameterisation::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationConsRho::ComputeDimensions(), G4ParameterisationConsPhi::ComputeDimensions(), G4ParameterisationConsZ::ComputeDimensions(), and export_G4Cons().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 490 of file G4Cons.cc.
References ApproxSurfaceNormal(), fDPhi, fDz, fPhiFullCone, fRmax1, fRmax2, fRmin1, fRmin2, fSPhi, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, and kInfinity.
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 220 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 220 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 229 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 220 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 220 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 220 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), G4Cons(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 220 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), G4Cons(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 220 of file G4Cons.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 233 of file G4Cons.hh.
Referenced by DistanceToOut(), G4Cons(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 233 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Cons(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 233 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Cons(), Inside(), and operator=().
|
private |
Definition at line 216 of file G4Cons.hh.
Referenced by G4Cons(), and operator=().
|
private |
Definition at line 216 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Cons(), and operator=().
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
private |
Definition at line 224 of file G4Cons.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().