Geant4
10.03
|
#include <G4TwistedTubs.hh>
Classes | |
class | LastState |
class | LastValue |
class | LastValueWithDoubleVector |
class | LastVector |
Private Member Functions | |
void | SetFields (G4double phitwist, G4double innerrad, G4double outerrad, G4double negativeEndz, G4double positiveEndz) |
void | CreateSurfaces () |
Additional Inherited Members | |
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 G4VSolid | |
G4double | kCarTolerance |
Definition at line 65 of file G4TwistedTubs.hh.
G4TwistedTubs::G4TwistedTubs | ( | const G4String & | pname, |
G4double | twistedangle, | ||
G4double | endinnerrad, | ||
G4double | endouterrad, | ||
G4double | halfzlen, | ||
G4double | dphi | ||
) |
Definition at line 72 of file G4TwistedTubs.cc.
References CreateSurfaces(), DBL_MIN, FatalErrorInArgument, G4Exception(), and SetFields().
Referenced by Clone().
G4TwistedTubs::G4TwistedTubs | ( | const G4String & | pname, |
G4double | twistedangle, | ||
G4double | endinnerrad, | ||
G4double | endouterrad, | ||
G4double | halfzlen, | ||
G4int | nseg, | ||
G4double | totphi | ||
) |
Definition at line 105 of file G4TwistedTubs.cc.
References CreateSurfaces(), DBL_MIN, FatalErrorInArgument, fDPhi, G4endl, G4Exception(), and SetFields().
G4TwistedTubs::G4TwistedTubs | ( | const G4String & | pname, |
G4double | twistedangle, | ||
G4double | innerrad, | ||
G4double | outerrad, | ||
G4double | negativeEndz, | ||
G4double | positiveEndz, | ||
G4double | dphi | ||
) |
Definition at line 149 of file G4TwistedTubs.cc.
References CreateSurfaces(), DBL_MIN, FatalErrorInArgument, G4Exception(), and SetFields().
G4TwistedTubs::G4TwistedTubs | ( | const G4String & | pname, |
G4double | twistedangle, | ||
G4double | innerrad, | ||
G4double | outerrad, | ||
G4double | negativeEndz, | ||
G4double | positiveEndz, | ||
G4int | nseg, | ||
G4double | totphi | ||
) |
Definition at line 172 of file G4TwistedTubs.cc.
References CreateSurfaces(), DBL_MIN, FatalErrorInArgument, fDPhi, G4endl, G4Exception(), and SetFields().
|
virtual |
Definition at line 222 of file G4TwistedTubs.cc.
References fFormerTwisted, fInnerHype, fLatterTwisted, fLowerEndcap, fOuterHype, fpPolyhedron, and fUpperEndcap.
G4TwistedTubs::G4TwistedTubs | ( | __void__ & | a | ) |
Definition at line 208 of file G4TwistedTubs.cc.
G4TwistedTubs::G4TwistedTubs | ( | const G4TwistedTubs & | rhs | ) |
Definition at line 236 of file G4TwistedTubs.cc.
References CreateSurfaces(), fEndInnerRadius, fEndOuterRadius, fEndPhi, fEndZ, and fEndZ2.
|
virtual |
Implements G4VSolid.
Definition at line 357 of file G4TwistedTubs.cc.
References G4BoundingEnvelope::CalculateExtent(), and Extent().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1027 of file G4TwistedTubs.cc.
References G4TwistedTubs().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 318 of file G4TwistedTubs.cc.
References FatalException, and G4Exception().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 903 of file G4TwistedTubs.cc.
References fDPhi, fFormerTwisted, fInnerHype, fLatterTwisted, fLowerEndcap, fOuterHype, fPhiTwist, fUpperEndcap, G4VTwistSurface::GetFacets(), G4INCL::Math::max(), n, and twopi.
Referenced by GetPolyhedron().
|
private |
Definition at line 958 of file G4TwistedTubs.cc.
References fDPhi, fEndInnerRadius, fEndOuterRadius, fEndPhi, fEndZ, fFormerTwisted, fInnerHype, fInnerRadius, fKappa, fLatterTwisted, fLowerEndcap, fOuterHype, fOuterRadius, fTanInnerStereo, fTanOuterStereo, fUpperEndcap, n, and G4VTwistSurface::SetNeighbours().
Referenced by G4TwistedTubs(), and operator=().
|
virtual |
Implements G4VSolid.
Definition at line 881 of file G4TwistedTubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 483 of file G4TwistedTubs.cc.
References G4VTwistSurface::DistanceToIn(), fFormerTwisted, fInnerHype, fLastDistanceToIn, fLastDistanceToInWithV, fLatterTwisted, fLowerEndcap, fOuterHype, fUpperEndcap, Inside(), kInfinity, kInside, kSurface, CLHEP::normal(), G4TwistedTubs::LastValueWithDoubleVector::p, SurfaceNormal(), G4TwistedTubs::LastValue::value, G4TwistedTubs::LastValueWithDoubleVector::value, and G4TwistedTubs::LastValueWithDoubleVector::vec.
|
virtual |
Implements G4VSolid.
Definition at line 574 of file G4TwistedTubs.cc.
References G4VTwistSurface::DistanceTo(), FatalException, fFormerTwisted, fInnerHype, fLastDistanceToIn, fLatterTwisted, fLowerEndcap, fOuterHype, fUpperEndcap, G4Exception(), Inside(), kInfinity, kInside, kOutside, kSurface, G4TwistedTubs::LastValue::p, and G4TwistedTubs::LastValue::value.
|
virtual |
Implements G4VSolid.
Definition at line 654 of file G4TwistedTubs.cc.
References G4VTwistSurface::DistanceToOut(), fFormerTwisted, fInnerHype, fLastDistanceToOutWithV, fLastNormal, fLatterTwisted, fLowerEndcap, fOuterHype, fUpperEndcap, G4VTwistSurface::GetNormal(), Inside(), G4VTwistSurface::IsValidNorm(), kInfinity, kOutside, kSurface, CLHEP::normal(), G4TwistedTubs::LastValueWithDoubleVector::p, G4TwistedTubs::LastVector::surface, SurfaceNormal(), G4TwistedTubs::LastValueWithDoubleVector::value, and G4TwistedTubs::LastValueWithDoubleVector::vec.
|
virtual |
Implements G4VSolid.
Definition at line 766 of file G4TwistedTubs.cc.
References G4VTwistSurface::DistanceTo(), FatalException, fFormerTwisted, fInnerHype, fLastDistanceToOut, fLatterTwisted, fLowerEndcap, fOuterHype, fUpperEndcap, G4Exception(), Inside(), kInfinity, kInside, kOutside, kSurface, G4TwistedTubs::LastValue::p, and G4TwistedTubs::LastValue::value.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 331 of file G4TwistedTubs.cc.
References G4VSolid::DumpInfo(), fEndOuterRadius, fZHalfLength, G4Exception(), G4VSolid::GetName(), and JustWarning.
Referenced by CalculateExtent().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1035 of file G4TwistedTubs.cc.
References fCubicVolume, fDPhi, fInnerRadius, fOuterRadius, and fZHalfLength.
|
inline |
Definition at line 140 of file G4TwistedTubs.hh.
References fDPhi.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
Definition at line 156 of file G4TwistedTubs.hh.
References fEndInnerRadius.
|
inline |
Definition at line 160 of file G4TwistedTubs.hh.
References fEndInnerRadius.
Referenced by GetPointOnSurface().
Definition at line 158 of file G4TwistedTubs.hh.
References fEndOuterRadius.
|
inline |
Definition at line 163 of file G4TwistedTubs.hh.
References fEndOuterRadius.
Referenced by GetPointOnSurface().
Definition at line 155 of file G4TwistedTubs.hh.
References fEndPhi.
Referenced by export_G4TwistedTubs().
Definition at line 154 of file G4TwistedTubs.hh.
References fEndZ.
Referenced by export_G4TwistedTubs().
|
virtual |
Implements G4VSolid.
Definition at line 1019 of file G4TwistedTubs.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 889 of file G4TwistedTubs.cc.
References fEndOuterRadius, and fZHalfLength.
|
inline |
Definition at line 142 of file G4TwistedTubs.hh.
References fInnerRadius.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
inline |
Definition at line 144 of file G4TwistedTubs.hh.
References fInnerStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 147 of file G4TwistedTubs.hh.
References fKappa.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 143 of file G4TwistedTubs.hh.
References fOuterRadius.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
inline |
Definition at line 145 of file G4TwistedTubs.hh.
References fOuterStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 141 of file G4TwistedTubs.hh.
References fPhiTwist.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1056 of file G4TwistedTubs.cc.
References fEndZ, fFormerTwisted, fInnerHype, fLatterTwisted, fLowerEndcap, fOuterHype, fUpperEndcap, G4VTwistSurface::GetBoundaryMax(), G4VTwistSurface::GetBoundaryMin(), GetEndInnerRadius(), GetEndOuterRadius(), G4VTwistSurface::GetSurfaceArea(), G4INCL::DeJongSpin::shoot(), sqr(), and G4VTwistSurface::SurfacePoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 939 of file G4TwistedTubs.cc.
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< M, L, U >::unlock().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1046 of file G4TwistedTubs.cc.
References fSurfaceArea, and G4VSolid::GetSurfaceArea().
|
inline |
Definition at line 149 of file G4TwistedTubs.hh.
References fTanInnerStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 150 of file G4TwistedTubs.hh.
References fTanInnerStereo2.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 151 of file G4TwistedTubs.hh.
References fTanOuterStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 152 of file G4TwistedTubs.hh.
References fTanOuterStereo2.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 146 of file G4TwistedTubs.hh.
References fZHalfLength.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
virtual |
Implements G4VSolid.
Definition at line 376 of file G4TwistedTubs.cc.
References fInnerHype, fLastInside, fOuterHype, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetRadialTolerance(), G4TwistedTubs::LastState::inside, kInside, kOutside, kSurface, and G4TwistedTubs::LastState::p.
Referenced by DistanceToIn(), and DistanceToOut().
G4TwistedTubs & G4TwistedTubs::operator= | ( | const G4TwistedTubs & | rhs | ) |
Definition at line 270 of file G4TwistedTubs.cc.
References CreateSurfaces(), fCubicVolume, fDPhi, fEndInnerRadius, fEndOuterRadius, fEndPhi, fEndZ, fEndZ2, fFormerTwisted, fInnerHype, fInnerRadius, fInnerRadius2, fInnerStereo, fKappa, fLastDistanceToIn, fLastDistanceToInWithV, fLastDistanceToOut, fLastDistanceToOutWithV, fLastInside, fLastNormal, fLatterTwisted, fLowerEndcap, fOuterHype, fOuterRadius, fOuterRadius2, fOuterStereo, fPhiTwist, fpPolyhedron, fRebuildPolyhedron, fSurfaceArea, fTanInnerStereo, fTanInnerStereo2, fTanOuterStereo, fTanOuterStereo2, fUpperEndcap, fZHalfLength, and G4VSolid::operator=().
|
inlineprivate |
Definition at line 354 of file G4TwistedTubs.hh.
References fCubicVolume, fEndInnerRadius, fEndOuterRadius, fEndPhi, fEndZ, fEndZ2, fInnerRadius, fInnerRadius2, fInnerStereo, fKappa, fOuterRadius, fOuterRadius2, fOuterStereo, fPhiTwist, fTanInnerStereo, fTanInnerStereo2, fTanOuterStereo, fTanOuterStereo2, fZHalfLength, G4cout, G4endl, and parity().
Referenced by G4TwistedTubs().
|
virtual |
Implements G4VSolid.
Definition at line 848 of file G4TwistedTubs.cc.
References degree, fDPhi, fEndInnerRadius, fEndOuterRadius, fEndZ, fInnerRadius, fInnerStereo, fOuterRadius, fOuterStereo, fPhiTwist, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 428 of file G4TwistedTubs.cc.
References G4VTwistSurface::DistanceTo(), fFormerTwisted, fInnerHype, fLastNormal, fLatterTwisted, fLowerEndcap, fOuterHype, fUpperEndcap, G4VTwistSurface::GetNormal(), kInfinity, G4TwistedTubs::LastVector::p, G4TwistedTubs::LastVector::surface, and G4TwistedTubs::LastVector::vec.
Referenced by DistanceToIn(), and DistanceToOut().
|
private |
Definition at line 234 of file G4TwistedTubs.hh.
Referenced by GetCubicVolume(), operator=(), and SetFields().
|
private |
Definition at line 209 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), G4TwistedTubs(), GetCubicVolume(), GetDPhi(), operator=(), and StreamInfo().
|
private |
Definition at line 217 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), G4TwistedTubs(), GetEndInnerRadius(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 218 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), Extent(), G4TwistedTubs(), GetEndOuterRadius(), GetExtent(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 219 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), G4TwistedTubs(), GetEndPhi(), operator=(), and SetFields().
|
private |
Definition at line 208 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), G4TwistedTubs(), GetEndZ(), GetPointOnSurface(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 225 of file G4TwistedTubs.hh.
Referenced by G4TwistedTubs(), operator=(), and SetFields().
|
private |
Definition at line 230 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 231 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 206 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetCubicVolume(), GetInnerRadius(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 221 of file G4TwistedTubs.hh.
Referenced by operator=(), and SetFields().
|
private |
Definition at line 212 of file G4TwistedTubs.hh.
Referenced by GetInnerStereo(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 216 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetKappa(), operator=(), and SetFields().
|
private |
Definition at line 340 of file G4TwistedTubs.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 342 of file G4TwistedTubs.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 341 of file G4TwistedTubs.hh.
Referenced by DistanceToOut(), and operator=().
|
private |
Definition at line 343 of file G4TwistedTubs.hh.
Referenced by DistanceToOut(), and operator=().
|
private |
Definition at line 338 of file G4TwistedTubs.hh.
Referenced by Inside(), and operator=().
|
private |
Definition at line 339 of file G4TwistedTubs.hh.
Referenced by DistanceToOut(), operator=(), and SurfaceNormal().
|
private |
Definition at line 229 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 227 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 232 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 207 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetCubicVolume(), GetOuterRadius(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 222 of file G4TwistedTubs.hh.
Referenced by operator=(), and SetFields().
|
private |
Definition at line 213 of file G4TwistedTubs.hh.
Referenced by GetOuterStereo(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 205 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), GetPhiTwist(), operator=(), SetFields(), and StreamInfo().
|
mutableprivate |
Definition at line 238 of file G4TwistedTubs.hh.
Referenced by GetPolyhedron(), operator=(), and ~G4TwistedTubs().
|
mutableprivate |
Definition at line 237 of file G4TwistedTubs.hh.
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 235 of file G4TwistedTubs.hh.
Referenced by GetSurfaceArea(), and operator=().
|
private |
Definition at line 214 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetTanInnerStereo(), operator=(), and SetFields().
|
private |
Definition at line 223 of file G4TwistedTubs.hh.
Referenced by GetTanInnerStereo2(), operator=(), and SetFields().
|
private |
Definition at line 215 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetTanOuterStereo(), operator=(), and SetFields().
|
private |
Definition at line 224 of file G4TwistedTubs.hh.
Referenced by GetTanOuterStereo2(), operator=(), and SetFields().
|
private |
Definition at line 228 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 210 of file G4TwistedTubs.hh.
Referenced by Extent(), GetCubicVolume(), GetExtent(), GetZHalfLength(), operator=(), and SetFields().