Geant4
10.00.p02
|
#include <G4TriangularFacet.hh>
Private Member Functions | |
void | CopyFrom (const G4TriangularFacet &rhs) |
Private Attributes | |
G4ThreeVector | fSurfaceNormal |
G4double | fArea |
G4ThreeVector | fCircumcentre |
G4double | fRadius |
G4int | fIndices [3] |
std::vector< G4ThreeVector > * | fVertices |
G4double | fA |
G4double | fB |
G4double | fC |
G4double | fDet |
G4double | fSqrDist |
G4ThreeVector | fE1 |
G4ThreeVector | fE2 |
G4bool | fIsDefined |
Additional Inherited Members | |
Static Protected Attributes inherited from G4VFacet | |
static const G4double | dirTolerance = 1.0E-14 |
static const G4double | kCarTolerance |
Definition at line 65 of file G4TriangularFacet.hh.
G4TriangularFacet::G4TriangularFacet | ( | ) |
Definition at line 150 of file G4TriangularFacet.cc.
References fA, fArea, fB, fC, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSurfaceNormal, fVertices, and SetVertex().
Referenced by GetClone(), and GetFlippedFacet().
G4TriangularFacet::~G4TriangularFacet | ( | ) |
Definition at line 170 of file G4TriangularFacet.cc.
References SetVertices().
G4TriangularFacet::G4TriangularFacet | ( | const G4ThreeVector & | vt0, |
const G4ThreeVector & | vt1, | ||
const G4ThreeVector & | vt2, | ||
G4FacetVertexType | vertexType | ||
) |
Definition at line 75 of file G4TriangularFacet.cc.
References ABSOLUTE, fA, fArea, fB, fC, fCircumcentre, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSurfaceNormal, fVertices, G4endl, G4Exception(), GetVertex(), JustWarning, G4VFacet::kCarTolerance, and SetVertex().
G4TriangularFacet::G4TriangularFacet | ( | const G4TriangularFacet & | right | ) |
Definition at line 191 of file G4TriangularFacet.cc.
References CopyFrom().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 165 of file G4TriangularFacet.hh.
References GetNumberOfVertices().
Referenced by G4QuadrangularFacet::AllocatedMemory().
|
private |
Definition at line 177 of file G4TriangularFacet.cc.
References copy(), fIndices, and fVertices.
Referenced by G4TriangularFacet(), and operator=().
G4ThreeVector G4TriangularFacet::Distance | ( | const G4ThreeVector & | p | ) |
Definition at line 251 of file G4TriangularFacet.cc.
References fA, fB, fC, fDet, fE1, fE2, fSqrDist, and GetVertex().
Referenced by Distance(), G4QuadrangularFacet::Distance(), and Intersect().
|
virtual |
Implements G4VFacet.
Definition at line 435 of file G4TriangularFacet.cc.
References Distance(), fCircumcentre, fRadius, and kInfinity.
|
virtual |
Implements G4VFacet.
Definition at line 470 of file G4TriangularFacet.cc.
References Distance(), fCircumcentre, fRadius, fSqrDist, fSurfaceNormal, G4VFacet::kCarTolerance, and kInfinity.
|
virtual |
Implements G4VFacet.
Definition at line 511 of file G4TriangularFacet.cc.
References GetVertex(), and G4InuclParticleNames::sp.
|
virtual |
Implements G4VFacet.
Definition at line 755 of file G4TriangularFacet.cc.
References fArea.
Referenced by G4QuadrangularFacet::GetArea().
|
inlinevirtual |
|
virtual |
Implements G4VFacet.
Definition at line 216 of file G4TriangularFacet.cc.
References ABSOLUTE, G4TriangularFacet(), and GetVertex().
|
virtual |
Implements G4VFacet.
Definition at line 762 of file G4TriangularFacet.cc.
G4TriangularFacet * G4TriangularFacet::GetFlippedFacet | ( | ) |
Definition at line 230 of file G4TriangularFacet.cc.
References ABSOLUTE, G4TriangularFacet(), and GetVertex().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 139 of file G4TriangularFacet.hh.
Referenced by AllocatedMemory().
|
virtual |
Implements G4VFacet.
Definition at line 739 of file G4TriangularFacet.cc.
References alpha, fE1, fE2, GetVertex(), and G4INCL::DeJongSpin::shoot().
Referenced by G4QuadrangularFacet::GetPointOnFace().
|
inlinevirtual |
|
virtual |
Implements G4VFacet.
Definition at line 769 of file G4TriangularFacet.cc.
References fSurfaceNormal.
Referenced by G4QuadrangularFacet::G4QuadrangularFacet(), and G4QuadrangularFacet::GetSurfaceNormal().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 144 of file G4TriangularFacet.hh.
References fIndices.
Referenced by Distance(), Extent(), G4TriangularFacet(), GetClone(), GetFlippedFacet(), GetPointOnFace(), G4QuadrangularFacet::GetVertex(), and Intersect().
Implements G4VFacet.
Definition at line 172 of file G4TriangularFacet.hh.
References fIndices.
Referenced by G4QuadrangularFacet::GetVertexIndex().
|
virtual |
Implements G4VFacet.
Definition at line 548 of file G4TriangularFacet.cc.
References DBL_EPSILON, G4VFacet::dirTolerance, Distance(), fA, fB, fC, fDet, fE1, fE2, fSqrDist, fSurfaceNormal, GetVertex(), G4TessellatedGeometryAlgorithms::IntersectLineAndTriangle2D(), G4VFacet::kCarTolerance, kInfinity, G4InuclParticleNames::pp, and G4InuclParticleNames::s0.
Referenced by G4QuadrangularFacet::Intersect().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 134 of file G4TriangularFacet.hh.
References fIsDefined.
Referenced by G4QuadrangularFacet::IsDefined().
G4TriangularFacet & G4TriangularFacet::operator= | ( | const G4TriangularFacet & | right | ) |
Definition at line 200 of file G4TriangularFacet.cc.
References CopyFrom(), and SetVertices().
void G4TriangularFacet::SetSurfaceNormal | ( | G4ThreeVector | normal | ) |
Definition at line 776 of file G4TriangularFacet.cc.
References fSurfaceNormal, and CLHEP::normal().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 150 of file G4TriangularFacet.hh.
Referenced by G4TriangularFacet(), and G4QuadrangularFacet::SetVertex().
Implements G4VFacet.
Definition at line 178 of file G4TriangularFacet.hh.
References fIndices.
Referenced by G4QuadrangularFacet::SetVertexIndex().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 183 of file G4TriangularFacet.hh.
References fIndices, and fVertices.
Referenced by operator=(), G4QuadrangularFacet::SetVertices(), and ~G4TriangularFacet().
|
private |
Definition at line 123 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), and Intersect().
|
private |
Definition at line 116 of file G4TriangularFacet.hh.
Referenced by G4TriangularFacet(), and GetArea().
|
private |
Definition at line 123 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), and Intersect().
|
private |
Definition at line 123 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), and Intersect().
|
private |
Definition at line 117 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), and GetCircumcentre().
|
private |
Definition at line 124 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), and Intersect().
|
private |
Definition at line 126 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), GetPointOnFace(), and Intersect().
|
private |
Definition at line 126 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), GetPointOnFace(), and Intersect().
|
private |
Definition at line 119 of file G4TriangularFacet.hh.
Referenced by CopyFrom(), G4TriangularFacet(), GetVertex(), GetVertexIndex(), SetVertexIndex(), and SetVertices().
|
private |
Definition at line 127 of file G4TriangularFacet.hh.
Referenced by G4TriangularFacet(), and IsDefined().
|
private |
Definition at line 118 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), and GetRadius().
|
private |
Definition at line 125 of file G4TriangularFacet.hh.
Referenced by Distance(), and Intersect().
|
private |
Definition at line 115 of file G4TriangularFacet.hh.
Referenced by Distance(), G4TriangularFacet(), GetSurfaceNormal(), Intersect(), and SetSurfaceNormal().
|
private |
Definition at line 121 of file G4TriangularFacet.hh.
Referenced by CopyFrom(), G4TriangularFacet(), and SetVertices().