Geant4.10
|
#include <G4PolyconeSide.hh>
Static Public Member Functions | |
static const G4PlSideManager & | GetSubInstanceManager () |
Protected Member Functions | |
G4double | DistanceAway (const G4ThreeVector &p, G4bool opposite, G4double &distOutside2, G4double *rzNorm=0) |
G4bool | PointOnCone (const G4ThreeVector &hit, G4double normSign, const G4ThreeVector &p, const G4ThreeVector &v, G4ThreeVector &normal) |
void | CopyStuff (const G4PolyconeSide &source) |
G4double | GetPhi (const G4ThreeVector &p) |
Static Protected Member Functions | |
static void | FindLineIntersect (G4double x1, G4double y1, G4double tx1, G4double ty1, G4double x2, G4double y2, G4double tx2, G4double ty2, G4double &x, G4double &y) |
Protected Attributes | |
G4double | r [2] |
G4double | z [2] |
G4double | startPhi |
G4double | deltaPhi |
G4bool | phiIsOpen |
G4bool | allBehind |
G4IntersectingCone * | cone |
G4double | rNorm |
G4double | zNorm |
G4double | rS |
G4double | zS |
G4double | length |
G4double | prevRS |
G4double | prevZS |
G4double | nextRS |
G4double | nextZS |
G4double | rNormEdge [2] |
G4double | zNormEdge [2] |
G4int | ncorners |
G4ThreeVector * | corners |
Definition at line 102 of file G4PolyconeSide.hh.
G4PolyconeSide::G4PolyconeSide | ( | const G4PolyconeSideRZ * | prevRZ, |
const G4PolyconeSideRZ * | tail, | ||
const G4PolyconeSideRZ * | head, | ||
const G4PolyconeSideRZ * | nextRZ, | ||
G4double | phiStart, | ||
G4double | deltaPhi, | ||
G4bool | phiIsOpen, | ||
G4bool | isAllBehind = false |
||
) |
Definition at line 74 of file G4PolyconeSide.cc.
References allBehind, cone, corners, G4GeomSplitter< T >::CreateSubInstance(), deltaPhi, G4MT_pcphi, G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetSurfaceTolerance(), length, ncorners, nextRS, nextZS, phiIsOpen, prevRS, prevZS, G4PolyconeSideRZ::r, r, rNorm, rNormEdge, rS, startPhi, python.hepunit::twopi, G4PolyconeSideRZ::z, z, zNorm, zNormEdge, and zS.
Referenced by Clone().
|
virtual |
G4PolyconeSide::G4PolyconeSide | ( | const G4PolyconeSide & | source | ) |
Definition at line 206 of file G4PolyconeSide.cc.
References CopyStuff(), and G4GeomSplitter< T >::CreateSubInstance().
G4PolyconeSide::G4PolyconeSide | ( | __void__ & | ) |
|
virtual |
Implements G4VCSGface.
Definition at line 574 of file G4PolyconeSide.cc.
References G4SolidExtentList::AddSurface(), G4ClippablePolygon::AddVertexInOrder(), G4AffineTransform::ApplyPointTransform(), G4ClippablePolygon::ClearAllVertices(), CLHEP::Hep3Vector::cross(), DBL_MIN, deltaPhi, FindLineIntersect(), kMaxMeshSections, kMeshAngleDefault, kMinMeshSections, nextRS, nextZS, G4ClippablePolygon::PartialClip(), phiIsOpen, prevRS, prevZS, r, rNorm, rS, G4ClippablePolygon::SetNormal(), startPhi, G4AffineTransform::TransformAxis(), CLHEP::Hep3Vector::unit(), z, G4InuclParticleNames::z0, and zS.
|
inlinevirtual |
Implements G4VCSGface.
Definition at line 136 of file G4PolyconeSide.hh.
References G4PolyconeSide().
|
protected |
Definition at line 234 of file G4PolyconeSide.cc.
References allBehind, cone, corners, deltaPhi, length, ncorners, nextRS, nextZS, phiIsOpen, prevRS, prevZS, r, rNorm, rNormEdge, rS, startPhi, z, zNorm, zNormEdge, and zS.
Referenced by G4PolyconeSide(), and operator=().
|
virtual |
Implements G4VCSGface.
Definition at line 411 of file G4PolyconeSide.cc.
References DistanceAway().
|
protected |
Definition at line 928 of file G4PolyconeSide.cc.
References deltaPhi, GetPhi(), length, G4INCL::Math::max(), CLHEP::Hep3Vector::perp(), phiIsOpen, r, rNorm, rNormEdge, rS, sqr(), startPhi, python.hepunit::twopi, CLHEP::Hep3Vector::z(), z, zNorm, zNormEdge, and zS.
Referenced by Distance(), Inside(), Intersect(), and Normal().
|
virtual |
Implements G4VCSGface.
Definition at line 510 of file G4PolyconeSide.cc.
References test::a, test::b, test::c, cone, DBL_MIN, deltaPhi, CLHEP::Hep3Vector::dot(), GetPhi(), CLHEP::Hep3Vector::perp(), CLHEP::Hep3Vector::perp2(), phiIsOpen, r, startPhi, python.hepunit::twopi, CLHEP::Hep3Vector::z(), z, G4IntersectingCone::ZHi(), and G4IntersectingCone::ZLo().
|
staticprotected |
|
inline |
Definition at line 148 of file G4PolyconeSide.hh.
|
protected |
Definition at line 893 of file G4PolyconeSide.cc.
References G4MT_pcphi, and CLHEP::Hep3Vector::phi().
Referenced by DistanceAway(), Extent(), and PointOnCone().
|
virtual |
Implements G4VCSGface.
Definition at line 1122 of file G4PolyconeSide.cc.
References deltaPhi, G4UniformRand, r, startPhi, test::x, and z.
|
static |
Definition at line 63 of file G4PolyconeSide.cc.
Referenced by G4SolidsWorkspace::G4SolidsWorkspace().
|
virtual |
Implements G4VCSGface.
Definition at line 451 of file G4PolyconeSide.cc.
References DistanceAway(), kInside, kOutside, and kSurface.
|
virtual |
Implements G4VCSGface.
Definition at line 282 of file G4PolyconeSide.cc.
References allBehind, cone, DBL_MIN, DistanceAway(), G4IntersectingCone::LineHitsCone(), CLHEP::Hep3Vector::perp(), PointOnCone(), gammaraytel::pr, rNorm, test::v, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and zNorm.
|
virtual |
Implements G4VCSGface.
Definition at line 490 of file G4PolyconeSide.cc.
References DistanceAway(), CLHEP::Hep3Vector::perp(), rNorm, CLHEP::Hep3Vector::unit(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and zNorm.
G4PolyconeSide & G4PolyconeSide::operator= | ( | const G4PolyconeSide & | source | ) |
Definition at line 218 of file G4PolyconeSide.cc.
References cone, CopyStuff(), corners, and phiIsOpen.
|
protected |
Definition at line 1015 of file G4PolyconeSide.cc.
References cone, corners, CLHEP::Hep3Vector::cross(), DBL_MIN, deltaPhi, CLHEP::Hep3Vector::dot(), GetPhi(), G4IntersectingCone::HitOn(), CLHEP::Hep3Vector::perp(), phiIsOpen, rNorm, startPhi, python.hepunit::twopi, test::v, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), CLHEP::Hep3Vector::z(), and zNorm.
Referenced by Intersect().
|
virtual |
Implements G4VCSGface.
Definition at line 1109 of file G4PolyconeSide.cc.
References deltaPhi, r, sqr(), and z.
|
protected |
Definition at line 179 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), G4PolyconeSide(), and Intersect().
|
protected |
Definition at line 181 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), Extent(), G4PolyconeSide(), Intersect(), operator=(), PointOnCone(), and ~G4PolyconeSide().
|
protected |
Definition at line 195 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), G4PolyconeSide(), operator=(), PointOnCone(), and ~G4PolyconeSide().
|
protected |
Definition at line 176 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), Extent(), G4PolyconeSide(), GetPointOnFace(), PointOnCone(), and SurfaceArea().
|
protected |
Definition at line 185 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), DistanceAway(), and G4PolyconeSide().
|
protected |
Definition at line 194 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), and G4PolyconeSide().
|
protected |
Definition at line 188 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), and G4PolyconeSide().
|
protected |
Definition at line 188 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), and G4PolyconeSide().
|
protected |
Definition at line 178 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), Extent(), G4PolyconeSide(), operator=(), PointOnCone(), and ~G4PolyconeSide().
|
protected |
Definition at line 186 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), and G4PolyconeSide().
|
protected |
Definition at line 186 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), and G4PolyconeSide().
|
protected |
Definition at line 175 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), Extent(), G4PolyconeSide(), GetPointOnFace(), and SurfaceArea().
|
protected |
Definition at line 183 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), G4PolyconeSide(), Intersect(), Normal(), and PointOnCone().
|
protected |
Definition at line 191 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), DistanceAway(), and G4PolyconeSide().
|
protected |
Definition at line 184 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), and G4PolyconeSide().
|
protected |
Definition at line 176 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), Extent(), G4PolyconeSide(), GetPointOnFace(), and PointOnCone().
|
protected |
Definition at line 175 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), Extent(), G4PolyconeSide(), GetPointOnFace(), and SurfaceArea().
|
protected |
Definition at line 183 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), DistanceAway(), G4PolyconeSide(), Intersect(), Normal(), and PointOnCone().
|
protected |
Definition at line 191 of file G4PolyconeSide.hh.
Referenced by CopyStuff(), DistanceAway(), and G4PolyconeSide().
|
protected |
Definition at line 184 of file G4PolyconeSide.hh.
Referenced by CalculateExtent(), CopyStuff(), DistanceAway(), and G4PolyconeSide().