Geant4
10.01.p02
|
#include <UQuadrangularFacet.hh>
Public Member Functions | |
UQuadrangularFacet (const UVector3 &Pt0, const UVector3 &vt1, const UVector3 &vt2, const UVector3 &vt3, UFacetVertexType) | |
virtual | ~UQuadrangularFacet () |
UQuadrangularFacet (const UQuadrangularFacet &right) | |
UQuadrangularFacet & | operator= (const UQuadrangularFacet &right) |
VUFacet * | GetClone () |
UVector3 | Distance (const UVector3 &p) |
double | Distance (const UVector3 &p, const double minDist) |
double | Distance (const UVector3 &p, const double minDist, const bool outgoing) |
double | Extent (const UVector3 axis) |
bool | Intersect (const UVector3 &p, const UVector3 &v, const bool outgoing, double &distance, double &distFromSurface, UVector3 &normal) |
double | GetArea () |
UVector3 | GetPointOnFace () const |
virtual UGeometryType | GetEntityType () const |
int | GetNumberOfVertices () const |
UVector3 | GetVertex (int i) const |
UVector3 | GetSurfaceNormal () const |
double | GetRadius () const |
UVector3 | GetCircumcentre () const |
void | SetVertex (int i, const UVector3 &val) |
void | SetVertices (std::vector< UVector3 > *v) |
bool | IsDefined () const |
Public Member Functions inherited from VUFacet | |
virtual | ~VUFacet () |
bool | operator== (const VUFacet &right) const |
void | ApplyTranslation (const UVector3 v) |
std::ostream & | StreamInfo (std::ostream &os) const |
bool | IsInside (const UVector3 &p) const |
Private Member Functions | |
int | GetVertexIndex (int i) const |
void | SetVertexIndex (int i, int val) |
int | AllocatedMemory () |
Private Attributes | |
double | fRadius |
UVector3 | fCircumcentre |
UTriangularFacet | fFacet1 |
UTriangularFacet | fFacet2 |
Additional Inherited Members | |
Static Protected Attributes inherited from VUFacet | |
static const double | dirTolerance = 1.0E-14 |
static const double | kCarTolerance = VUSolid::Tolerance() |
Definition at line 45 of file UQuadrangularFacet.hh.
UQuadrangularFacet::UQuadrangularFacet | ( | const UVector3 & | Pt0, |
const UVector3 & | vt1, | ||
const UVector3 & | vt2, | ||
const UVector3 & | vt3, | ||
UFacetVertexType | vertexType | ||
) |
Definition at line 28 of file UQuadrangularFacet.cc.
References UVector3::Cross(), UVector3::Dot(), e1, e2, e3, UUtils::Exception(), UTriangularFacet::GetSurfaceNormal(), UVector3::Mag(), UVector3::Mag2(), CLHEP::normal(), VUSolid::Tolerance(), UABSOLUTE, UVector3::Unit(), and UWarning.
Referenced by GetClone().
|
virtual |
Definition at line 107 of file UQuadrangularFacet.cc.
UQuadrangularFacet::UQuadrangularFacet | ( | const UQuadrangularFacet & | right | ) |
Definition at line 113 of file UQuadrangularFacet.cc.
|
inlineprivatevirtual |
Implements VUFacet.
Definition at line 160 of file UQuadrangularFacet.hh.
References UTriangularFacet::AllocatedMemory(), fFacet1, and fFacet2.
Definition at line 145 of file UQuadrangularFacet.cc.
References UTriangularFacet::Distance(), fFacet1, fFacet2, and UVector3::Mag2().
Referenced by Distance().
|
virtual |
Implements VUFacet.
Definition at line 156 of file UQuadrangularFacet.cc.
References Distance(), and UVector3::Mag().
|
virtual |
Implements VUFacet.
Definition at line 165 of file UQuadrangularFacet.cc.
References VUFacet::dirTolerance, Distance(), UVector3::Dot(), GetSurfaceNormal(), UUtils::kInfinity, and UVector3::Mag().
|
virtual |
Implements VUFacet.
Definition at line 178 of file UQuadrangularFacet.cc.
References UVector3::Dot(), GetVertex(), and G4InuclParticleNames::sp.
|
virtual |
Implements VUFacet.
Definition at line 210 of file UQuadrangularFacet.cc.
References fFacet1, fFacet2, and UTriangularFacet::GetArea().
|
inlinevirtual |
|
virtual |
Implements VUFacet.
Definition at line 137 of file UQuadrangularFacet.cc.
References GetVertex(), UABSOLUTE, and UQuadrangularFacet().
|
virtual |
Implements VUFacet.
Definition at line 216 of file UQuadrangularFacet.cc.
|
inlinevirtual |
Implements VUFacet.
Definition at line 73 of file UQuadrangularFacet.hh.
|
virtual |
Implements VUFacet.
Definition at line 203 of file UQuadrangularFacet.cc.
References fFacet1, fFacet2, UTriangularFacet::GetPointOnFace(), and UUtils::Random().
|
inlinevirtual |
|
virtual |
Implements VUFacet.
Definition at line 221 of file UQuadrangularFacet.cc.
References fFacet1, and UTriangularFacet::GetSurfaceNormal().
Referenced by Distance().
|
inlinevirtual |
Implements VUFacet.
Definition at line 78 of file UQuadrangularFacet.hh.
References fFacet1, fFacet2, and UTriangularFacet::GetVertex().
Referenced by Extent(), and GetClone().
|
inlineprivatevirtual |
Implements VUFacet.
Definition at line 130 of file UQuadrangularFacet.hh.
References fFacet1, fFacet2, and UTriangularFacet::GetVertexIndex().
|
virtual |
Implements VUFacet.
Definition at line 190 of file UQuadrangularFacet.cc.
References fFacet1, fFacet2, UTriangularFacet::Intersect(), UUtils::kInfinity, and UVector3::Set().
|
inlinevirtual |
Implements VUFacet.
Definition at line 122 of file UQuadrangularFacet.hh.
References fFacet1, and UTriangularFacet::IsDefined().
UQuadrangularFacet & UQuadrangularFacet::operator= | ( | const UQuadrangularFacet & | right | ) |
Definition at line 122 of file UQuadrangularFacet.cc.
|
inlinevirtual |
Implements VUFacet.
Definition at line 95 of file UQuadrangularFacet.hh.
References fFacet1, fFacet2, and UTriangularFacet::SetVertex().
|
inlineprivatevirtual |
Implements VUFacet.
Definition at line 135 of file UQuadrangularFacet.hh.
References fFacet1, fFacet2, and UTriangularFacet::SetVertexIndex().
|
inlinevirtual |
Implements VUFacet.
Definition at line 116 of file UQuadrangularFacet.hh.
References fFacet1, fFacet2, and UTriangularFacet::SetVertices().
|
private |
Definition at line 158 of file UQuadrangularFacet.hh.
Referenced by GetCircumcentre().
|
private |
Definition at line 165 of file UQuadrangularFacet.hh.
Referenced by AllocatedMemory(), Distance(), GetArea(), GetPointOnFace(), GetSurfaceNormal(), GetVertex(), GetVertexIndex(), Intersect(), IsDefined(), operator=(), SetVertex(), SetVertexIndex(), SetVertices(), and UQuadrangularFacet().
|
private |
Definition at line 165 of file UQuadrangularFacet.hh.
Referenced by AllocatedMemory(), Distance(), GetArea(), GetPointOnFace(), GetVertex(), GetVertexIndex(), Intersect(), operator=(), SetVertex(), SetVertexIndex(), SetVertices(), and UQuadrangularFacet().
|
private |
Definition at line 156 of file UQuadrangularFacet.hh.
Referenced by GetRadius(), operator=(), and UQuadrangularFacet().