ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/solids/specific/include/G4TriangularFacet.hh>
Private Member Functions | |
void | CopyFrom (const G4TriangularFacet &rhs) |
void | MoveFrom (G4TriangularFacet &rhs) |
Private Attributes | |
G4ThreeVector | fSurfaceNormal |
G4double | fArea = 0.0 |
G4ThreeVector | fCircumcentre |
G4double | fRadius = 0.0 |
std::array< G4int, 3 > | fIndices |
std::vector< G4ThreeVector > * | fVertices = nullptr |
G4double | fA |
G4double | fB |
G4double | fC |
G4double | fDet |
G4double | fSqrDist = 0.0 |
G4ThreeVector | fE1 |
G4ThreeVector | fE2 |
G4bool | fIsDefined = false |
Additional Inherited Members | |
Protected Attributes inherited from G4VFacet | |
G4double | kCarTolerance |
Static Protected Attributes inherited from G4VFacet | |
static const G4double | dirTolerance = 1.0E-14 |
Definition at line 60 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 60 of file G4TriangularFacet.hh
G4TriangularFacet::G4TriangularFacet | ( | ) |
Definition at line 144 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 144 of file G4TriangularFacet.cc
References fA, fArea, fB, fC, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSurfaceNormal, fVertices, CLHEP::Hep3Vector::set(), SetVertex(), and zero.
Referenced by GetClone(), and GetFlippedFacet().
G4TriangularFacet::~G4TriangularFacet | ( | ) |
Definition at line 164 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 164 of file G4TriangularFacet.cc
References SetVertices().
G4TriangularFacet::G4TriangularFacet | ( | const G4ThreeVector & | vt0, |
const G4ThreeVector & | vt1, | ||
const G4ThreeVector & | vt2, | ||
G4FacetVertexType | vertexType | ||
) |
Definition at line 56 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 56 of file G4TriangularFacet.cc
References ABSOLUTE, CLHEP::Hep3Vector::cross(), Acts::Test::delta, CLHEP::Hep3Vector::dot(), fA, fArea, fB, fC, fCircumcentre, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSurfaceNormal, fVertices, G4endl, G4Exception(), GetVertex(), JustWarning, G4VFacet::kCarTolerance, CLHEP::Hep3Vector::mag(), CLHEP::Hep3Vector::mag2(), max, message(), CLHEP::Hep3Vector::set(), SetVertex(), and CLHEP::Hep3Vector::unit().
G4TriangularFacet::G4TriangularFacet | ( | const G4TriangularFacet & | right | ) |
Definition at line 203 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 203 of file G4TriangularFacet.cc
References CopyFrom().
G4TriangularFacet::G4TriangularFacet | ( | G4TriangularFacet && | right | ) |
Definition at line 211 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 211 of file G4TriangularFacet.cc
References MoveFrom().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 162 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 162 of file G4TriangularFacet.hh
References GetNumberOfVertices().
Referenced by G4QuadrangularFacet::AllocatedMemory().
|
private |
Definition at line 171 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 171 of file G4TriangularFacet.cc
References field_utils::copy(), fIndices, and fVertices.
Referenced by G4TriangularFacet(), and operator=().
G4ThreeVector G4TriangularFacet::Distance | ( | const G4ThreeVector & | p | ) |
Definition at line 290 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 290 of file G4TriangularFacet.cc
References D(), d, denom, CLHEP::Hep3Vector::dot(), e, f, fA, fB, fC, fDet, fE1, fE2, fSqrDist, GetVertex(), CLHEP::Hep3Vector::mag2(), t, tmp1, and Acts::UnitConstants::u.
Referenced by G4QuadrangularFacet::Distance(), Distance(), and Intersect().
|
virtual |
Implements G4VFacet.
Definition at line 474 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 474 of file G4TriangularFacet.cc
References Distance(), fCircumcentre, fRadius, kInfinity, and CLHEP::Hep3Vector::mag().
|
virtual |
Implements G4VFacet.
Definition at line 509 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 509 of file G4TriangularFacet.cc
References dir, Distance(), CLHEP::Hep3Vector::dot(), fCircumcentre, fRadius, fSqrDist, fSurfaceNormal, G4VFacet::kCarTolerance, kInfinity, and v.
|
virtual |
Implements G4VFacet.
Definition at line 550 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 550 of file G4TriangularFacet.cc
References CLHEP::Hep3Vector::dot(), GetVertex(), and G4InuclParticleNames::sp.
|
virtual |
Implements G4VFacet.
Definition at line 793 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 793 of file G4TriangularFacet.cc
References fArea.
Referenced by G4QuadrangularFacet::GetArea(), and G4QuadrangularFacet::GetPointOnFace().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 152 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 152 of file G4TriangularFacet.hh
References fCircumcentre.
|
virtual |
Implements G4VFacet.
Definition at line 255 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 255 of file G4TriangularFacet.cc
References ABSOLUTE, G4TriangularFacet(), and GetVertex().
|
virtual |
Implements G4VFacet.
Definition at line 800 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 800 of file G4TriangularFacet.cc
G4TriangularFacet * G4TriangularFacet::GetFlippedFacet | ( | ) |
Definition at line 269 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 269 of file G4TriangularFacet.cc
References ABSOLUTE, G4TriangularFacet(), and GetVertex().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 136 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 136 of file G4TriangularFacet.hh
Referenced by AllocatedMemory().
|
virtual |
Implements G4VFacet.
Definition at line 779 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 779 of file G4TriangularFacet.cc
References fE1, fE2, G4UniformRand, GetVertex(), Acts::UnitConstants::u, and v.
Referenced by G4QuadrangularFacet::GetPointOnFace().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 157 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 157 of file G4TriangularFacet.hh
References fRadius.
|
virtual |
Implements G4VFacet.
Definition at line 807 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 807 of file G4TriangularFacet.cc
References fSurfaceNormal.
Referenced by G4QuadrangularFacet::GetSurfaceNormal().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 141 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 141 of file G4TriangularFacet.hh
References fIndices.
Referenced by Distance(), Extent(), G4TriangularFacet(), GetClone(), GetFlippedFacet(), GetPointOnFace(), G4QuadrangularFacet::GetVertex(), and Intersect().
Implements G4VFacet.
Definition at line 169 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 169 of file G4TriangularFacet.hh
References fIndices.
Referenced by G4QuadrangularFacet::GetVertexIndex().
|
virtual |
Implements G4VFacet.
Definition at line 587 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 587 of file G4TriangularFacet.cc
References CLHEP::Hep3Vector::cross(), D(), d, DBL_EPSILON, G4VFacet::dirTolerance, Distance(), CLHEP::Hep3Vector::dot(), e, fA, fB, fC, fDet, fE1, fE2, fSqrDist, fSurfaceNormal, GetVertex(), G4TessellatedGeometryAlgorithms::IntersectLineAndTriangle2D(), G4VFacet::kCarTolerance, kInfinity, CLHEP::Hep2Vector::mag(), CLHEP::Hep3Vector::mag(), G4InuclParticleNames::pp, G4InuclParticleNames::s0, s1, CLHEP::Hep3Vector::set(), t, Acts::UnitConstants::u, CLHEP::Hep3Vector::unit(), and w.
Referenced by G4QuadrangularFacet::Intersect().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 131 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 131 of file G4TriangularFacet.hh
References fIsDefined.
Referenced by G4QuadrangularFacet::IsDefined().
|
private |
Definition at line 185 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 185 of file G4TriangularFacet.cc
References fA, fArea, fB, fC, fCircumcentre, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSqrDist, fSurfaceNormal, and fVertices.
Referenced by G4TriangularFacet(), and operator=().
G4TriangularFacet & G4TriangularFacet::operator= | ( | const G4TriangularFacet & | right | ) |
Definition at line 220 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 220 of file G4TriangularFacet.cc
References CopyFrom(), fVertices, and SetVertices().
G4TriangularFacet & G4TriangularFacet::operator= | ( | G4TriangularFacet && | right | ) |
Definition at line 236 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 236 of file G4TriangularFacet.cc
References fVertices, MoveFrom(), and SetVertices().
void G4TriangularFacet::SetSurfaceNormal | ( | G4ThreeVector | normal | ) |
Definition at line 814 of file G4TriangularFacet.cc.
View newest version in sPHENIX GitHub at line 814 of file G4TriangularFacet.cc
References fSurfaceNormal, and CLHEP::normal().
Referenced by G4QuadrangularFacet::G4QuadrangularFacet().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 147 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 147 of file G4TriangularFacet.hh
Referenced by G4TriangularFacet(), and G4QuadrangularFacet::SetVertex().
Implements G4VFacet.
Definition at line 175 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 175 of file G4TriangularFacet.hh
References fIndices.
Referenced by G4QuadrangularFacet::SetVertexIndex().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 180 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 180 of file G4TriangularFacet.hh
References fIndices, fVertices, and v.
Referenced by operator=(), G4QuadrangularFacet::SetVertices(), and ~G4TriangularFacet().
|
private |
Definition at line 120 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 120 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), Intersect(), and MoveFrom().
|
private |
Definition at line 114 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 114 of file G4TriangularFacet.hh
Referenced by G4TriangularFacet(), GetArea(), and MoveFrom().
|
private |
Definition at line 120 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 120 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), Intersect(), and MoveFrom().
|
private |
Definition at line 120 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 120 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), Intersect(), and MoveFrom().
|
private |
Definition at line 115 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 115 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), GetCircumcentre(), and MoveFrom().
|
private |
Definition at line 121 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 121 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), Intersect(), and MoveFrom().
|
private |
Definition at line 123 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 123 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), GetPointOnFace(), Intersect(), and MoveFrom().
|
private |
Definition at line 123 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 123 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), GetPointOnFace(), Intersect(), and MoveFrom().
|
private |
Definition at line 117 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 117 of file G4TriangularFacet.hh
Referenced by CopyFrom(), G4TriangularFacet(), GetVertex(), GetVertexIndex(), MoveFrom(), SetVertexIndex(), and SetVertices().
Definition at line 124 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 124 of file G4TriangularFacet.hh
Referenced by G4TriangularFacet(), IsDefined(), and MoveFrom().
|
private |
Definition at line 116 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 116 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), GetRadius(), and MoveFrom().
|
private |
Definition at line 122 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 122 of file G4TriangularFacet.hh
Referenced by Distance(), Intersect(), and MoveFrom().
|
private |
Definition at line 113 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 113 of file G4TriangularFacet.hh
Referenced by Distance(), G4TriangularFacet(), GetSurfaceNormal(), Intersect(), MoveFrom(), and SetSurfaceNormal().
|
private |
Definition at line 118 of file G4TriangularFacet.hh.
View newest version in sPHENIX GitHub at line 118 of file G4TriangularFacet.hh
Referenced by CopyFrom(), G4TriangularFacet(), MoveFrom(), operator=(), and SetVertices().