Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4PolyhedraSide.hh>
Classes | |
struct | sG4PolyhedraSideEdge |
struct | sG4PolyhedraSideVec |
Public Types | |
typedef struct G4PolyhedraSide::sG4PolyhedraSideEdge | G4PolyhedraSideEdge |
typedef struct G4PolyhedraSide::sG4PolyhedraSideVec | G4PolyhedraSideVec |
Static Public Member Functions | |
static const G4PhSideManager & | GetSubInstanceManager () |
Protected Member Functions | |
G4bool | IntersectSidePlane (const G4ThreeVector &p, const G4ThreeVector &v, const G4PolyhedraSideVec &vec, G4double normSign, G4double surfTolerance, G4double &distance, G4double &distFromSurface) |
G4int | LineHitsSegments (const G4ThreeVector &p, const G4ThreeVector &v, G4int *i1, G4int *i2) |
G4int | ClosestPhiSegment (G4double phi) |
G4int | PhiSegment (G4double phi) |
G4double | GetPhi (const G4ThreeVector &p) |
G4double | DistanceToOneSide (const G4ThreeVector &p, const G4PolyhedraSideVec &vec, G4double *normDist) |
G4double | DistanceAway (const G4ThreeVector &p, const G4PolyhedraSideVec &vec, G4double *normDist) |
void | CopyStuff (const G4PolyhedraSide &source) |
Protected Attributes | |
G4int | numSide = 0 |
G4double | r [2] |
G4double | z [2] |
G4double | startPhi |
G4double | deltaPhi |
G4double | endPhi |
G4bool | phiIsOpen = false |
G4bool | allBehind = false |
G4IntersectingCone * | cone = nullptr |
G4PolyhedraSideVec * | vecs = nullptr |
G4PolyhedraSideEdge * | edges = nullptr |
G4double | lenRZ |
G4double | lenPhi [2] |
G4double | edgeNorm |
Friends | |
struct | sG4PolyhedraSideVec |
Definition at line 88 of file G4PolyhedraSide.hh.
G4PolyhedraSide::G4PolyhedraSide | ( | const G4PolyhedraSideRZ * | prevRZ, |
const G4PolyhedraSideRZ * | tail, | ||
const G4PolyhedraSideRZ * | head, | ||
const G4PolyhedraSideRZ * | nextRZ, | ||
G4int | numSide, | ||
G4double | phiStart, | ||
G4double | phiTotal, | ||
G4bool | phiIsOpen, | ||
G4bool | isAllBehind = false |
||
) |
Definition at line 66 of file G4PolyhedraSide.cc.
|
virtual |
Definition at line 319 of file G4PolyhedraSide.cc.
G4PolyhedraSide::G4PolyhedraSide | ( | const G4PolyhedraSide & | source | ) |
Definition at line 328 of file G4PolyhedraSide.cc.
G4PolyhedraSide::G4PolyhedraSide | ( | __void__ & | ) |
|
virtual |
Implements G4VCSGface.
Definition at line 704 of file G4PolyhedraSide.cc.
|
inlinevirtual |
Implements G4VCSGface.
Definition at line 124 of file G4PolyhedraSide.hh.
Definition at line 910 of file G4PolyhedraSide.cc.
Referenced by Distance(), Inside(), and Normal().
|
protected |
Definition at line 355 of file G4PolyhedraSide.cc.
Referenced by G4PolyhedraSide(), and operator=().
|
virtual |
Implements G4VCSGface.
Definition at line 569 of file G4PolyhedraSide.cc.
|
protected |
Definition at line 1024 of file G4PolyhedraSide.cc.
Referenced by Distance(), and DistanceToOneSide().
|
protected |
Definition at line 1002 of file G4PolyhedraSide.cc.
|
virtual |
Implements G4VCSGface.
Definition at line 646 of file G4PolyhedraSide.cc.
|
inline |
Definition at line 147 of file G4PolyhedraSide.hh.
|
protected |
Definition at line 976 of file G4PolyhedraSide.cc.
Referenced by Distance(), Extent(), Inside(), and Normal().
|
virtual |
Implements G4VCSGface.
Definition at line 1242 of file G4PolyhedraSide.cc.
G4ThreeVector G4PolyhedraSide::GetPointOnPlane | ( | G4ThreeVector | p0, |
G4ThreeVector | p1, | ||
G4ThreeVector | p2, | ||
G4ThreeVector | p3, | ||
G4double * | Area | ||
) |
Definition at line 1189 of file G4PolyhedraSide.cc.
Referenced by GetPointOnFace(), and SurfaceArea().
|
static |
Definition at line 56 of file G4PolyhedraSide.cc.
Referenced by G4SolidsWorkspace::G4SolidsWorkspace().
|
virtual |
Implements G4VCSGface.
Definition at line 600 of file G4PolyhedraSide.cc.
|
virtual |
Implements G4VCSGface.
Definition at line 449 of file G4PolyhedraSide.cc.
|
protected |
Definition at line 773 of file G4PolyhedraSide.cc.
|
protected |
Definition at line 866 of file G4PolyhedraSide.cc.
|
virtual |
Implements G4VCSGface.
Definition at line 627 of file G4PolyhedraSide.cc.
G4PolyhedraSide & G4PolyhedraSide::operator= | ( | const G4PolyhedraSide & | source | ) |
Definition at line 938 of file G4PolyhedraSide.cc.
Referenced by ClosestPhiSegment(), Extent(), and LineHitsSegments().
|
virtual |
Implements G4VCSGface.
Definition at line 1209 of file G4PolyhedraSide.cc.
G4double G4PolyhedraSide::SurfaceTriangle | ( | G4ThreeVector | p1, |
G4ThreeVector | p2, | ||
G4ThreeVector | p3, | ||
G4ThreeVector * | p4 | ||
) |
Definition at line 1168 of file G4PolyhedraSide.cc.
Referenced by GetPointOnPlane().
|
friend |
Definition at line 157 of file G4PolyhedraSide.hh.
|
protected |
Definition at line 214 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), G4PolyhedraSide(), and Intersect().
|
protected |
Definition at line 216 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), Extent(), G4PolyhedraSide(), LineHitsSegments(), operator=(), and ~G4PolyhedraSide().
|
protected |
Definition at line 211 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), G4PolyhedraSide(), and PhiSegment().
|
protected |
Definition at line 222 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), DistanceAway(), and G4PolyhedraSide().
|
protected |
Definition at line 219 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), G4PolyhedraSide(), operator=(), and ~G4PolyhedraSide().
|
protected |
Definition at line 212 of file G4PolyhedraSide.hh.
Referenced by ClosestPhiSegment(), CopyStuff(), and G4PolyhedraSide().
|
protected |
Definition at line 221 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), DistanceAway(), G4PolyhedraSide(), and Intersect().
|
protected |
Definition at line 220 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), DistanceAway(), G4PolyhedraSide(), Intersect(), and IntersectSidePlane().
|
protected |
Definition at line 208 of file G4PolyhedraSide.hh.
Referenced by CalculateExtent(), ClosestPhiSegment(), CopyStuff(), Extent(), G4PolyhedraSide(), GetPointOnFace(), Intersect(), PhiSegment(), and SurfaceArea().
|
protected |
Definition at line 213 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), G4PolyhedraSide(), and PhiSegment().
|
protected |
Definition at line 209 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), G4PolyhedraSide(), Intersect(), and IntersectSidePlane().
|
protected |
Definition at line 210 of file G4PolyhedraSide.hh.
Referenced by ClosestPhiSegment(), CopyStuff(), G4PolyhedraSide(), and PhiSegment().
|
protected |
Definition at line 218 of file G4PolyhedraSide.hh.
Referenced by CalculateExtent(), CopyStuff(), Distance(), Extent(), G4PolyhedraSide(), GetPointOnFace(), Inside(), Intersect(), Normal(), operator=(), SurfaceArea(), and ~G4PolyhedraSide().
|
protected |
Definition at line 209 of file G4PolyhedraSide.hh.
Referenced by CopyStuff(), and G4PolyhedraSide().