Geant4-11
|
#include <G4QuadrangularFacet.hh>
Protected Attributes | |
G4double | kCarTolerance |
Static Protected Attributes | |
static const G4double | dirTolerance = 1.0E-14 |
Private Member Functions | |
G4int | AllocatedMemory () |
G4int | GetVertexIndex (G4int i) const |
void | SetVertexIndex (G4int i, G4int val) |
Private Attributes | |
G4ThreeVector | fCircumcentre |
G4TriangularFacet | fFacet1 |
G4TriangularFacet | fFacet2 |
G4double | fRadius = 0.0 |
Definition at line 61 of file G4QuadrangularFacet.hh.
G4QuadrangularFacet::G4QuadrangularFacet | ( | const G4ThreeVector & | Pt0, |
const G4ThreeVector & | vt1, | ||
const G4ThreeVector & | vt2, | ||
const G4ThreeVector & | vt3, | ||
G4FacetVertexType | vertexType | ||
) |
Definition at line 51 of file G4QuadrangularFacet.cc.
References ABSOLUTE, e1, e2, e3, epsilon(), fCircumcentre, fFacet1, fFacet2, fRadius, G4endl, G4Exception(), GetVertex(), JustWarning, G4VFacet::kCarTolerance, kInfinity, CLHEP::Hep3Vector::mag2(), G4INCL::Math::max(), CLHEP::normal(), s, G4TriangularFacet::SetSurfaceNormal(), and SetVertex().
Referenced by GetClone().
G4QuadrangularFacet::G4QuadrangularFacet | ( | const G4QuadrangularFacet & | right | ) |
G4QuadrangularFacet::~G4QuadrangularFacet | ( | ) |
Definition at line 209 of file G4QuadrangularFacet.cc.
|
inlineprivatevirtual |
Implements G4VFacet.
Definition at line 199 of file G4QuadrangularFacet.hh.
References G4TriangularFacet::AllocatedMemory(), fFacet1, and fFacet2.
|
inherited |
Definition at line 85 of file G4VFacet.cc.
References G4VFacet::GetNumberOfVertices(), G4VFacet::GetVertex(), CLHEP::detail::n, and G4VFacet::SetVertex().
G4ThreeVector G4QuadrangularFacet::Distance | ( | const G4ThreeVector & | p | ) |
Definition at line 249 of file G4QuadrangularFacet.cc.
References G4TriangularFacet::Distance(), fFacet1, fFacet2, and CLHEP::Hep3Vector::mag2().
Referenced by Distance().
|
virtual |
Implements G4VFacet.
Definition at line 260 of file G4QuadrangularFacet.cc.
References Distance(), and CLHEP::Hep3Vector::mag().
|
virtual |
Implements G4VFacet.
Definition at line 269 of file G4QuadrangularFacet.cc.
References G4VFacet::dirTolerance, Distance(), CLHEP::Hep3Vector::dot(), GetSurfaceNormal(), kInfinity, and CLHEP::Hep3Vector::mag().
|
virtual |
Implements G4VFacet.
Definition at line 286 of file G4QuadrangularFacet.cc.
References CLHEP::Hep3Vector::dot(), GetVertex(), and G4InuclParticleNames::sp.
|
virtual |
Implements G4VFacet.
Definition at line 335 of file G4QuadrangularFacet.cc.
References fFacet1, fFacet2, and G4TriangularFacet::GetArea().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 135 of file G4QuadrangularFacet.hh.
References fCircumcentre.
|
virtual |
Implements G4VFacet.
Definition at line 239 of file G4QuadrangularFacet.cc.
References ABSOLUTE, G4QuadrangularFacet(), and GetVertex().
|
virtual |
Implements G4VFacet.
Definition at line 343 of file G4QuadrangularFacet.cc.
|
inlinevirtual |
|
virtual |
Implements G4VFacet.
Definition at line 323 of file G4QuadrangularFacet.cc.
References fFacet1, fFacet2, G4UniformRand, G4TriangularFacet::GetArea(), and G4TriangularFacet::GetPointOnFace().
|
inlinevirtual |
|
virtual |
Implements G4VFacet.
Definition at line 350 of file G4QuadrangularFacet.cc.
References fFacet1, and G4TriangularFacet::GetSurfaceNormal().
Referenced by Distance().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 124 of file G4QuadrangularFacet.hh.
References fFacet1, fFacet2, and G4TriangularFacet::GetVertex().
Referenced by Extent(), G4QuadrangularFacet(), and GetClone().
Implements G4VFacet.
Definition at line 172 of file G4QuadrangularFacet.hh.
References fFacet1, fFacet2, and G4TriangularFacet::GetVertexIndex().
|
virtual |
Implements G4VFacet.
Definition at line 300 of file G4QuadrangularFacet.cc.
References fFacet1, fFacet2, G4TriangularFacet::Intersect(), kInfinity, and CLHEP::normal().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 167 of file G4QuadrangularFacet.hh.
References fFacet1, and G4TriangularFacet::IsDefined().
|
inherited |
Definition at line 112 of file G4VFacet.cc.
References CLHEP::Hep3Vector::dot(), G4VFacet::GetSurfaceNormal(), and G4VFacet::GetVertex().
Referenced by G4TessellatedSolid::SetExtremeFacets().
G4QuadrangularFacet & G4QuadrangularFacet::operator= | ( | const G4QuadrangularFacet & | right | ) |
Definition at line 57 of file G4VFacet.cc.
References G4VFacet::GetCircumcentre(), G4VFacet::GetNumberOfVertices(), G4VFacet::GetSurfaceNormal(), G4VFacet::GetVertex(), and G4VFacet::kCarTolerance.
|
inlinevirtual |
Implements G4VFacet.
Definition at line 140 of file G4QuadrangularFacet.hh.
References fFacet1, fFacet2, and G4TriangularFacet::SetVertex().
Referenced by G4QuadrangularFacet().
Implements G4VFacet.
Definition at line 178 of file G4QuadrangularFacet.hh.
References fFacet1, fFacet2, and G4TriangularFacet::SetVertexIndex().
|
inlinevirtual |
Implements G4VFacet.
Definition at line 161 of file G4QuadrangularFacet.hh.
References fFacet1, fFacet2, and G4TriangularFacet::SetVertices().
|
inherited |
Definition at line 96 of file G4VFacet.cc.
References G4endl, G4VFacet::GetEntityType(), G4VFacet::GetNumberOfVertices(), G4VFacet::GetVertex(), and CLHEP::detail::n.
Referenced by G4TessellatedSolid::AddFacet(), and G4TessellatedSolid::StreamInfo().
|
staticprotectedinherited |
Definition at line 92 of file G4VFacet.hh.
Referenced by Distance(), and G4TriangularFacet::Intersect().
|
private |
Definition at line 110 of file G4QuadrangularFacet.hh.
Referenced by G4QuadrangularFacet(), and GetCircumcentre().
|
private |
Definition at line 112 of file G4QuadrangularFacet.hh.
Referenced by AllocatedMemory(), Distance(), G4QuadrangularFacet(), GetArea(), GetPointOnFace(), GetSurfaceNormal(), GetVertex(), GetVertexIndex(), Intersect(), IsDefined(), operator=(), SetVertex(), SetVertexIndex(), and SetVertices().
|
private |
Definition at line 112 of file G4QuadrangularFacet.hh.
Referenced by AllocatedMemory(), Distance(), G4QuadrangularFacet(), GetArea(), GetPointOnFace(), GetVertex(), GetVertexIndex(), Intersect(), operator=(), SetVertex(), SetVertexIndex(), and SetVertices().
|
private |
Definition at line 108 of file G4QuadrangularFacet.hh.
Referenced by G4QuadrangularFacet(), GetRadius(), and operator=().
|
protectedinherited |
Definition at line 93 of file G4VFacet.hh.
Referenced by G4TriangularFacet::Distance(), G4QuadrangularFacet(), G4TriangularFacet::G4TriangularFacet(), G4VFacet::G4VFacet(), G4TriangularFacet::Intersect(), and G4VFacet::operator==().