Geant4
10.02.p02
|
#include <G4VTwistedFaceted.hh>
Classes | |
class | LastState |
class | LastValue |
class | LastValueWithDoubleVector |
class | LastVector |
Protected Member Functions | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pTransform) 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 | |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Private Member Functions | |
void | CreateSurfaces () |
Definition at line 58 of file G4VTwistedFaceted.hh.
G4VTwistedFaceted::G4VTwistedFaceted | ( | const G4String & | pname, |
G4double | PhiTwist, | ||
G4double | pDz, | ||
G4double | pTheta, | ||
G4double | pPhi, | ||
G4double | pDy1, | ||
G4double | pDx1, | ||
G4double | pDx2, | ||
G4double | pDy2, | ||
G4double | pDx3, | ||
G4double | pDx4, | ||
G4double | pAlph | ||
) |
Definition at line 70 of file G4VTwistedFaceted.cc.
References cm, CreateSurfaces(), deg, fAlph, FatalErrorInArgument, fCubicVolume, fdeltaX, fdeltaY, fDx, fDx1, fDx2, fDx3, fDx4, fDy, fDy1, fDy2, fDz, fPhi, fPhiTwist, fTAlph, fTheta, G4cout, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4VSolid::kCarTolerance, and pi.
|
virtual |
Definition at line 216 of file G4VTwistedFaceted.cc.
References fLowerEndcap, fpPolyhedron, fSide0, fSide180, fSide270, fSide90, and fUpperEndcap.
G4VTwistedFaceted::G4VTwistedFaceted | ( | __void__ & | a | ) |
Definition at line 202 of file G4VTwistedFaceted.cc.
G4VTwistedFaceted::G4VTwistedFaceted | ( | const G4VTwistedFaceted & | rhs | ) |
Definition at line 231 of file G4VTwistedFaceted.cc.
References CreateSurfaces().
|
virtual |
Implements G4VSolid.
Definition at line 301 of file G4VTwistedFaceted.cc.
References G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), CreateRotatedVertices(), fDx, fDy, fDz, G4VoxelLimits::GetMaxExtent(), G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), Inside(), G4AffineTransform::Inverse(), G4VoxelLimits::IsLimited(), G4AffineTransform::IsRotated(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), G4VoxelLimits::IsZLimited(), G4VSolid::kCarTolerance, kInfinity, kOutside, kXAxis, kYAxis, kZAxis, G4AffineTransform::NetTranslation(), and G4AffineTransform::TransformPoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 288 of file G4VTwistedFaceted.cc.
References FatalException, and G4Exception().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1335 of file G4VTwistedFaceted.cc.
References fLowerEndcap, fPhiTwist, fSide0, fSide180, fSide270, fSide90, fUpperEndcap, G4VTwistSurface::GetFacets(), n, and twopi.
Referenced by GetPolyhedron().
|
protected |
Definition at line 486 of file G4VTwistedFaceted.cc.
References G4VSolid::DumpInfo(), FatalException, fDx, fDy, fDz, G4Exception(), and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
|
private |
Definition at line 1140 of file G4VTwistedFaceted.cc.
References deg, fAlph, fDx1, fDx2, fDx3, fDx4, fDy1, fDy2, fDz, fLowerEndcap, fPhi, fPhiTwist, fSide0, fSide180, fSide270, fSide90, fTheta, fUpperEndcap, pi, and G4VTwistSurface::SetNeighbours().
Referenced by G4VTwistedFaceted(), and operator=().
|
virtual |
Implements G4VSolid.
Definition at line 1119 of file G4VTwistedFaceted.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 679 of file G4VTwistedFaceted.cc.
References G4VTwistSurface::DistanceToIn(), fLastDistanceToIn, fLastDistanceToInWithV, fLowerEndcap, fSide0, fSide180, fSide270, fSide90, fUpperEndcap, G4cout, G4endl, Inside(), kInfinity, kInside, kSurface, CLHEP::normal(), G4VTwistedFaceted::LastValueWithDoubleVector::p, SurfaceNormal(), G4VTwistedFaceted::LastValue::value, G4VTwistedFaceted::LastValueWithDoubleVector::value, and G4VTwistedFaceted::LastValueWithDoubleVector::vec.
|
virtual |
Implements G4VSolid.
Definition at line 778 of file G4VTwistedFaceted.cc.
References G4VTwistSurface::DistanceTo(), FatalException, fLastDistanceToIn, fLowerEndcap, fSide0, fSide180, fSide270, fSide90, fUpperEndcap, G4Exception(), Inside(), kInfinity, kInside, kOutside, kSurface, G4VTwistedFaceted::LastValue::p, and G4VTwistedFaceted::LastValue::value.
|
virtual |
Implements G4VSolid.
Definition at line 868 of file G4VTwistedFaceted.cc.
References G4VTwistSurface::DistanceToOut(), fLastDistanceToOutWithV, fLastNormal, fLowerEndcap, fSide0, fSide180, fSide270, fSide90, fUpperEndcap, G4VTwistSurface::GetNormal(), Inside(), G4VTwistSurface::IsValidNorm(), kInfinity, kOutside, kSurface, CLHEP::normal(), G4VTwistedFaceted::LastValueWithDoubleVector::p, G4VTwistedFaceted::LastVector::surface, SurfaceNormal(), G4VTwistedFaceted::LastValueWithDoubleVector::value, and G4VTwistedFaceted::LastValueWithDoubleVector::vec.
|
virtual |
Implements G4VSolid.
Definition at line 976 of file G4VTwistedFaceted.cc.
References G4VTwistSurface::DistanceTo(), G4VSolid::DumpInfo(), FatalException, fLastDistanceToOut, fLowerEndcap, fSide0, fSide180, fSide270, fSide90, fUpperEndcap, G4cout, G4endl, G4Exception(), Inside(), JustWarning, kInfinity, kInside, kOutside, kSurface, mm, G4VTwistedFaceted::LastValue::p, and G4VTwistedFaceted::LastValue::value.
|
inline |
Definition at line 130 of file G4VTwistedFaceted.hh.
References fAlph.
Referenced by G4TwistedTrap::GetTiltAngleAlpha().
|
inlinevirtual |
|
inline |
Definition at line 121 of file G4VTwistedFaceted.hh.
References fDx1.
Referenced by G4TwistedTrd::GetX1HalfLength(), G4TwistedTrap::GetX1HalfLength(), and G4TwistedBox::GetXHalfLength().
|
inline |
Definition at line 122 of file G4VTwistedFaceted.hh.
References fDx2.
Referenced by G4TwistedTrap::GetX2HalfLength().
|
inline |
Definition at line 123 of file G4VTwistedFaceted.hh.
References fDx3.
Referenced by G4TwistedTrd::GetX2HalfLength(), and G4TwistedTrap::GetX3HalfLength().
|
inline |
Definition at line 124 of file G4VTwistedFaceted.hh.
References fDx4.
Referenced by G4TwistedTrap::GetX4HalfLength().
|
inline |
Definition at line 125 of file G4VTwistedFaceted.hh.
References fDy1.
Referenced by G4TwistedTrd::GetY1HalfLength(), G4TwistedTrap::GetY1HalfLength(), and G4TwistedBox::GetYHalfLength().
|
inline |
Definition at line 126 of file G4VTwistedFaceted.hh.
References fDy2.
Referenced by G4TwistedTrd::GetY2HalfLength(), and G4TwistedTrap::GetY2HalfLength().
|
inline |
Definition at line 127 of file G4VTwistedFaceted.hh.
References fDz.
Referenced by G4TwistedBox::GetZHalfLength(), G4TwistedTrd::GetZHalfLength(), and G4TwistedTrap::GetZHalfLength().
|
virtual |
Implements G4VSolid.
Reimplemented in G4TwistedTrap, G4TwistedTrd, and G4TwistedBox.
Definition at line 1189 of file G4VTwistedFaceted.cc.
|
virtual |
|
inline |
Definition at line 128 of file G4VTwistedFaceted.hh.
References fPhi.
Referenced by G4TwistedTrap::GetAzimuthalAnglePhi().
G4ThreeVector G4VTwistedFaceted::GetPointInSolid | ( | G4double | z | ) | const |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1238 of file G4VTwistedFaceted.cc.
References a1, a2, a3, a4, a5, fDy1, fDy2, fLowerEndcap, fPhiTwist, fSide0, fSide180, fSide270, fSide90, fUpperEndcap, G4cout, G4endl, G4VTwistSurface::GetBoundaryMax(), G4VTwistSurface::GetBoundaryMin(), G4VTwistSurface::GetSurfaceArea(), G4INCL::DeJongSpin::shoot(), and G4VTwistSurface::SurfacePoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1198 of file G4VTwistedFaceted.cc.
References CreatePolyhedron(), fpPolyhedron, fRebuildPolyhedron, G4Polyhedron::GetNumberOfRotationStepsAtTimeOfCreation(), and G4TemplateAutoLock< M, L, U >::unlock().
Referenced by G4TwistedBox::G4TwistedBox(), G4TwistedTrap::G4TwistedTrap(), G4TwistedTrd::G4TwistedTrd(), G4TwistedBox::operator=(), G4TwistedTrd::operator=(), and G4TwistedTrap::operator=().
|
inlinevirtual |
Reimplemented from G4VSolid.
Definition at line 322 of file G4VTwistedFaceted.hh.
References fSurfaceArea, and G4VSolid::GetSurfaceArea().
|
inline |
Definition at line 129 of file G4VTwistedFaceted.hh.
References fTheta.
Referenced by G4TwistedTrap::GetPolarAngleTheta().
|
inline |
Definition at line 119 of file G4VTwistedFaceted.hh.
References fPhiTwist.
Referenced by G4TwistedBox::GetPhiTwist(), G4TwistedTrd::GetPhiTwist(), and G4TwistedTrap::GetPhiTwist().
|
virtual |
Implements G4VSolid.
Definition at line 528 of file G4VTwistedFaceted.cc.
References fAlph, fdeltaX, fdeltaY, fDx1, fDx2, fDx3, fDx4, fDy1, fDy2, fDz, fLastInside, fPhi, fPhiTwist, fTAlph, fTheta, G4cout, G4endl, GetValueB(), G4VTwistedFaceted::LastState::inside, G4VSolid::kCarTolerance, kInside, kOutside, kSurface, G4VTwistedFaceted::LastState::p, and Xcoef().
Referenced by CalculateExtent(), DistanceToIn(), and DistanceToOut().
G4VTwistedFaceted & G4VTwistedFaceted::operator= | ( | const G4VTwistedFaceted & | rhs | ) |
Definition at line 253 of file G4VTwistedFaceted.cc.
References CreateSurfaces(), fAlph, fCubicVolume, fdeltaX, fdeltaY, fDx, fDx1, fDx2, fDx3, fDx4, fDy, fDy1, fDy2, fDz, fLastDistanceToIn, fLastDistanceToInWithV, fLastDistanceToOut, fLastDistanceToOutWithV, fLastInside, fLastNormal, fLowerEndcap, fPhi, fPhiTwist, fpPolyhedron, fRebuildPolyhedron, fSide0, fSide180, fSide270, fSide90, fSurfaceArea, fTAlph, fTheta, fUpperEndcap, and G4VSolid::operator=().
Referenced by G4TwistedBox::operator=(), G4TwistedTrd::operator=(), and G4TwistedTrap::operator=().
|
virtual |
Implements G4VSolid.
Reimplemented in G4TwistedTrap, G4TwistedTrd, and G4TwistedBox.
Definition at line 1082 of file G4VTwistedFaceted.cc.
References cm, degree, fAlph, fDx1, fDx2, fDx3, fDx4, fDy1, fDy2, fPhi, fPhiTwist, fTheta, G4endl, and G4VSolid::GetName().
|
virtual |
Implements G4VSolid.
Definition at line 625 of file G4VTwistedFaceted.cc.
References G4VTwistSurface::DistanceTo(), fLastNormal, fLowerEndcap, fSide0, fSide180, fSide270, fSide90, fUpperEndcap, G4VTwistSurface::GetNormal(), kInfinity, G4VTwistedFaceted::LastVector::p, G4VTwistedFaceted::LastVector::surface, and G4VTwistedFaceted::LastVector::vec.
Referenced by DistanceToIn(), and DistanceToOut().
Definition at line 348 of file G4VTwistedFaceted.hh.
References GetValueA(), GetValueB(), and GetValueD().
Referenced by Inside().
|
private |
Definition at line 185 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetAlpha(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 201 of file G4VTwistedFaceted.hh.
Referenced by G4VTwistedFaceted(), GetCubicVolume(), and operator=().
|
private |
Definition at line 188 of file G4VTwistedFaceted.hh.
Referenced by G4VTwistedFaceted(), GetPointInSolid(), Inside(), and operator=().
|
private |
Definition at line 189 of file G4VTwistedFaceted.hh.
Referenced by G4VTwistedFaceted(), GetPointInSolid(), Inside(), and operator=().
|
private |
Definition at line 182 of file G4VTwistedFaceted.hh.
Referenced by CalculateExtent(), CreateRotatedVertices(), G4VTwistedFaceted(), GetExtent(), and operator=().
|
private |
Definition at line 173 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetCubicVolume(), GetDx1(), GetValueD(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 174 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetCubicVolume(), GetDx2(), GetValueA(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 177 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetCubicVolume(), GetDx3(), GetValueD(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 178 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetCubicVolume(), GetDx4(), GetValueA(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 183 of file G4VTwistedFaceted.hh.
Referenced by CalculateExtent(), CreateRotatedVertices(), G4VTwistedFaceted(), GetExtent(), and operator=().
|
private |
Definition at line 172 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetCubicVolume(), GetDy1(), GetPointOnSurface(), GetValueB(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 176 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetCubicVolume(), GetDy2(), GetPointOnSurface(), GetValueB(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 180 of file G4VTwistedFaceted.hh.
Referenced by CalculateExtent(), CreateRotatedVertices(), CreateSurfaces(), G4VTwistedFaceted(), GetCubicVolume(), GetDz(), GetExtent(), GetPointInSolid(), Inside(), and operator=().
|
private |
Definition at line 303 of file G4VTwistedFaceted.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 305 of file G4VTwistedFaceted.hh.
Referenced by DistanceToIn(), and operator=().
|
private |
Definition at line 304 of file G4VTwistedFaceted.hh.
Referenced by DistanceToOut(), and operator=().
|
private |
Definition at line 306 of file G4VTwistedFaceted.hh.
Referenced by DistanceToOut(), and operator=().
|
private |
Definition at line 301 of file G4VTwistedFaceted.hh.
Referenced by Inside(), and operator=().
|
private |
Definition at line 302 of file G4VTwistedFaceted.hh.
Referenced by DistanceToOut(), operator=(), and SurfaceNormal().
|
private |
Definition at line 193 of file G4VTwistedFaceted.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4VTwistedFaceted().
|
private |
Definition at line 170 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetPhi(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 191 of file G4VTwistedFaceted.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), G4VTwistedFaceted(), GetPointInSolid(), GetPointOnSurface(), GetTwistAngle(), GetValueA(), GetValueB(), GetValueD(), Inside(), operator=(), and StreamInfo().
|
mutableprotected |
Definition at line 161 of file G4VTwistedFaceted.hh.
Referenced by G4TwistedBox::G4TwistedBox(), G4TwistedTrap::G4TwistedTrap(), G4TwistedTrd::G4TwistedTrd(), GetPolyhedron(), G4TwistedBox::operator=(), G4TwistedTrd::operator=(), G4TwistedTrap::operator=(), operator=(), and ~G4VTwistedFaceted().
|
mutableprotected |
Definition at line 160 of file G4VTwistedFaceted.hh.
Referenced by GetPolyhedron(), and operator=().
|
private |
Definition at line 196 of file G4VTwistedFaceted.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4VTwistedFaceted().
|
private |
Definition at line 198 of file G4VTwistedFaceted.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4VTwistedFaceted().
|
private |
Definition at line 199 of file G4VTwistedFaceted.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4VTwistedFaceted().
|
private |
Definition at line 197 of file G4VTwistedFaceted.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4VTwistedFaceted().
|
private |
Definition at line 202 of file G4VTwistedFaceted.hh.
Referenced by GetSurfaceArea(), and operator=().
|
private |
Definition at line 186 of file G4VTwistedFaceted.hh.
Referenced by G4VTwistedFaceted(), Inside(), and operator=().
|
private |
Definition at line 169 of file G4VTwistedFaceted.hh.
Referenced by CreateSurfaces(), G4VTwistedFaceted(), GetTheta(), Inside(), operator=(), and StreamInfo().
|
private |
Definition at line 194 of file G4VTwistedFaceted.hh.
Referenced by CreatePolyhedron(), CreateSurfaces(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), SurfaceNormal(), and ~G4VTwistedFaceted().