Geant4
10.00.p03
|
#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 () |
Static Private Member Functions | |
static void | AddPolyToExtent (const G4ThreeVector &v0, const G4ThreeVector &v1, const G4ThreeVector &w1, const G4ThreeVector &w0, const G4VoxelLimits &voxellimit, const EAxis axis, G4SolidExtentList &extentlist) |
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 |
G4double | EstimateCubicVolume (G4int nStat, G4double epsilon) const |
G4double | EstimateSurfaceArea (G4int nStat, G4double ell) 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.
|
staticprivate |
Definition at line 544 of file G4TwistedTubs.cc.
References G4SolidExtentList::AddSurface(), G4ClippablePolygon::AddVertexInOrder(), G4ClippablePolygon::PartialClip(), and G4ClippablePolygon::SetNormal().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 331 of file G4TwistedTubs.cc.
References AddPolyToExtent(), fDPhi, fEndInnerRadius, fEndOuterRadius, fEndPhi, fInnerRadius, fOuterRadius, fTanInnerStereo2, fZHalfLength, G4SolidExtentList::GetExtent(), G4INCL::Math::pi, and G4AffineTransform::TransformPoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1222 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 1098 of file G4TwistedTubs.cc.
References fDPhi, fFormerTwisted, fInnerHype, fLatterTwisted, fLowerEndcap, fOuterHype, fPhiTwist, fUpperEndcap, G4VTwistSurface::GetFacets(), G4INCL::Math::max(), and n.
Referenced by GetPolyhedron().
|
private |
Definition at line 1153 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 1077 of file G4TwistedTubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 679 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 770 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 850 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 962 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 1230 of file G4TwistedTubs.cc.
References fCubicVolume, fDPhi, fInnerRadius, fOuterRadius, and fZHalfLength.
|
inline |
Definition at line 138 of file G4TwistedTubs.hh.
References fDPhi.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
Definition at line 154 of file G4TwistedTubs.hh.
References fEndInnerRadius.
|
inline |
Definition at line 158 of file G4TwistedTubs.hh.
References fEndInnerRadius.
Referenced by GetPointOnSurface().
Definition at line 156 of file G4TwistedTubs.hh.
References fEndOuterRadius.
|
inline |
Definition at line 161 of file G4TwistedTubs.hh.
References fEndOuterRadius.
Referenced by GetPointOnSurface().
Definition at line 153 of file G4TwistedTubs.hh.
References fEndPhi.
Referenced by export_G4TwistedTubs().
Definition at line 152 of file G4TwistedTubs.hh.
References fEndZ.
Referenced by export_G4TwistedTubs().
|
virtual |
Implements G4VSolid.
Definition at line 1214 of file G4TwistedTubs.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1085 of file G4TwistedTubs.cc.
References fEndOuterRadius, and fZHalfLength.
|
inline |
Definition at line 140 of file G4TwistedTubs.hh.
References fInnerRadius.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
inline |
Definition at line 142 of file G4TwistedTubs.hh.
References fInnerStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 145 of file G4TwistedTubs.hh.
References fKappa.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 141 of file G4TwistedTubs.hh.
References fOuterRadius.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
inline |
Definition at line 143 of file G4TwistedTubs.hh.
References fOuterStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 139 of file G4TwistedTubs.hh.
References fPhiTwist.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1251 of file G4TwistedTubs.cc.
References a1, a2, a3, a4, a5, fEndZ, fFormerTwisted, fInnerHype, fLatterTwisted, fLowerEndcap, fOuterHype, fUpperEndcap, G4VTwistSurface::GetBoundaryMax(), G4VTwistSurface::GetBoundaryMin(), GetEndInnerRadius(), GetEndOuterRadius(), G4VTwistSurface::GetSurfaceArea(), G4INCL::DeJongSpin::shoot(), sqr(), G4VTwistSurface::SurfacePoint(), and z.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1134 of file G4TwistedTubs.cc.
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< M, L, U >::unlock().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1241 of file G4TwistedTubs.cc.
References fSurfaceArea, and G4VSolid::GetSurfaceArea().
|
inline |
Definition at line 147 of file G4TwistedTubs.hh.
References fTanInnerStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 148 of file G4TwistedTubs.hh.
References fTanInnerStereo2.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 149 of file G4TwistedTubs.hh.
References fTanOuterStereo.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 150 of file G4TwistedTubs.hh.
References fTanOuterStereo2.
Referenced by export_G4TwistedTubs().
|
inline |
Definition at line 144 of file G4TwistedTubs.hh.
References fZHalfLength.
Referenced by export_G4TwistedTubs(), G4tgbGeometryDumper::GetSolidParams(), and G4GDMLWriteSolids::TwistedtubsWrite().
|
virtual |
Implements G4VSolid.
Definition at line 572 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 359 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, and G4endl.
Referenced by G4TwistedTubs().
|
virtual |
Implements G4VSolid.
Definition at line 1044 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 624 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 239 of file G4TwistedTubs.hh.
Referenced by GetCubicVolume(), operator=(), and SetFields().
|
private |
Definition at line 214 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), CreatePolyhedron(), CreateSurfaces(), G4TwistedTubs(), GetCubicVolume(), GetDPhi(), operator=(), and StreamInfo().
|
private |
Definition at line 222 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), CreateSurfaces(), G4TwistedTubs(), GetEndInnerRadius(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 223 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), CreateSurfaces(), G4TwistedTubs(), GetEndOuterRadius(), GetExtent(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 224 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), CreateSurfaces(), G4TwistedTubs(), GetEndPhi(), operator=(), and SetFields().
|
private |
Definition at line 213 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), G4TwistedTubs(), GetEndZ(), GetPointOnSurface(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 230 of file G4TwistedTubs.hh.
Referenced by G4TwistedTubs(), operator=(), and SetFields().
|
private |
Definition at line 235 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 236 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 211 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), CreateSurfaces(), GetCubicVolume(), GetInnerRadius(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 226 of file G4TwistedTubs.hh.
Referenced by operator=(), and SetFields().
|
private |
Definition at line 217 of file G4TwistedTubs.hh.
Referenced by GetInnerStereo(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 221 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetKappa(), operator=(), and SetFields().
|
private |
Definition at line 345 of file G4TwistedTubs.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 347 of file G4TwistedTubs.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 346 of file G4TwistedTubs.hh.
Referenced by DistanceToOut(), and operator=().
|
private |
Definition at line 348 of file G4TwistedTubs.hh.
Referenced by DistanceToOut(), and operator=().
|
private |
Definition at line 343 of file G4TwistedTubs.hh.
Referenced by Inside(), and operator=().
|
private |
Definition at line 344 of file G4TwistedTubs.hh.
Referenced by DistanceToOut(), operator=(), and SurfaceNormal().
|
private |
Definition at line 234 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(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 237 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 212 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), CreateSurfaces(), GetCubicVolume(), GetOuterRadius(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 227 of file G4TwistedTubs.hh.
Referenced by operator=(), and SetFields().
|
private |
Definition at line 218 of file G4TwistedTubs.hh.
Referenced by GetOuterStereo(), operator=(), SetFields(), and StreamInfo().
|
private |
Definition at line 210 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), GetPhiTwist(), operator=(), SetFields(), and StreamInfo().
|
mutableprivate |
Definition at line 243 of file G4TwistedTubs.hh.
Referenced by GetPolyhedron(), operator=(), and ~G4TwistedTubs().
|
mutableprivate |
Definition at line 242 of file G4TwistedTubs.hh.
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 240 of file G4TwistedTubs.hh.
Referenced by GetSurfaceArea(), and operator=().
|
private |
Definition at line 219 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetTanInnerStereo(), operator=(), and SetFields().
|
private |
Definition at line 228 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), GetTanInnerStereo2(), operator=(), and SetFields().
|
private |
Definition at line 220 of file G4TwistedTubs.hh.
Referenced by CreateSurfaces(), GetTanOuterStereo(), operator=(), and SetFields().
|
private |
Definition at line 229 of file G4TwistedTubs.hh.
Referenced by GetTanOuterStereo2(), operator=(), and SetFields().
|
private |
Definition at line 233 of file G4TwistedTubs.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4TwistedTubs().
|
private |
Definition at line 215 of file G4TwistedTubs.hh.
Referenced by CalculateExtent(), GetCubicVolume(), GetExtent(), GetZHalfLength(), operator=(), and SetFields().