|
Geant4
10.01
|
#include <UTriangularFacet.hh>
Inheritance diagram for UTriangularFacet:
Collaboration diagram for UTriangularFacet:Public Member Functions | |
| UTriangularFacet (const UVector3 &vt0, const UVector3 &vt1, const UVector3 &vt2, UFacetVertexType) | |
| UTriangularFacet () | |
| ~UTriangularFacet () | |
| UTriangularFacet (const UTriangularFacet &right) | |
| UTriangularFacet & | operator= (const UTriangularFacet &right) |
| VUFacet * | GetClone () |
| UTriangularFacet * | GetFlippedFacet () |
| 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 |
| UVector3 | GetSurfaceNormal () const |
| bool | IsDefined () const |
| UGeometryType | GetEntityType () const |
| int | GetNumberOfVertices () const |
| UVector3 | GetVertex (int i) const |
| void | SetVertex (int i, const UVector3 &val) |
| UVector3 | GetCircumcentre () const |
| double | GetRadius () const |
| void | SetSurfaceNormal (UVector3 normal) |
| int | AllocatedMemory () |
| int | GetVertexIndex (int i) const |
| void | SetVertexIndex (int i, int j) |
| void | SetVertices (std::vector< UVector3 > *v) |
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 | |
| void | CopyFrom (const UTriangularFacet &rhs) |
Private Attributes | |
| UVector3 | fSurfaceNormal |
| double | fArea |
| UVector3 | fCircumcentre |
| double | fRadius |
| int | fIndices [3] |
| std::vector< UVector3 > * | fVertices |
| double | fA |
| double | fB |
| double | fC |
| double | fDet |
| double | fSqrDist |
| UVector3 | fE1 |
| UVector3 | fE2 |
| bool | fIsDefined |
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 42 of file UTriangularFacet.hh.
| UTriangularFacet::UTriangularFacet | ( | const UVector3 & | vt0, |
| const UVector3 & | vt1, | ||
| const UVector3 & | vt2, | ||
| UFacetVertexType | vertexType | ||
| ) |
Definition at line 35 of file UTriangularFacet.cc.
References UVector3::Cross(), UVector3::Dot(), UUtils::Exception(), fA, fArea, fB, fC, fCircumcentre, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSurfaceNormal, fVertices, GetVertex(), VUFacet::kCarTolerance, UVector3::Mag(), UVector3::Mag2(), UVector3::Set(), SetVertex(), UABSOLUTE, UVector3::Unit(), and Warning.
Here is the call graph for this function:| UTriangularFacet::UTriangularFacet | ( | ) |
Definition at line 104 of file UTriangularFacet.cc.
References fA, fArea, fB, fC, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSurfaceNormal, fVertices, UVector3::Set(), and SetVertex().
Referenced by GetClone(), and GetFlippedFacet().
Here is the call graph for this function:
Here is the caller graph for this function:| UTriangularFacet::~UTriangularFacet | ( | ) |
Definition at line 122 of file UTriangularFacet.cc.
References SetVertices().
Here is the call graph for this function:| UTriangularFacet::UTriangularFacet | ( | const UTriangularFacet & | right | ) |
Definition at line 149 of file UTriangularFacet.cc.
References CopyFrom().
Here is the call graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 105 of file UTriangularFacet.hh.
Referenced by UQuadrangularFacet::AllocatedMemory().
Here is the caller graph for this function:
|
private |
Definition at line 128 of file UTriangularFacet.cc.
References copy(), fA, fArea, fB, fC, fDet, fE1, fE2, fIndices, fIsDefined, fRadius, fSqrDist, fSurfaceNormal, and fVertices.
Referenced by operator=(), and UTriangularFacet().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 203 of file UTriangularFacet.cc.
References UVector3::Dot(), fA, fB, fC, fDet, fE1, fE2, fSqrDist, GetVertex(), and UVector3::Mag2().
Referenced by UQuadrangularFacet::Distance(), and Distance().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements VUFacet.
Definition at line 469 of file UTriangularFacet.cc.
References Distance(), fCircumcentre, fRadius, UUtils::kInfinity, and UVector3::Mag().
Here is the call graph for this function:
|
virtual |
Implements VUFacet.
Definition at line 504 of file UTriangularFacet.cc.
References Distance(), UVector3::Dot(), fCircumcentre, fRadius, fSqrDist, fSurfaceNormal, VUFacet::kCarTolerance, and UUtils::kInfinity.
Here is the call graph for this function:
|
virtual |
Implements VUFacet.
Definition at line 543 of file UTriangularFacet.cc.
References UVector3::Dot(), GetVertex(), and G4InuclParticleNames::sp.
Here is the call graph for this function:
|
virtual |
Implements VUFacet.
Definition at line 808 of file UTriangularFacet.cc.
References fArea.
Referenced by UQuadrangularFacet::GetArea().
Here is the caller graph for this function:
|
inlinevirtual |
|
virtual |
Implements VUFacet.
Definition at line 170 of file UTriangularFacet.cc.
References GetVertex(), UABSOLUTE, and UTriangularFacet().
Here is the call graph for this function:
|
virtual |
Implements VUFacet.
Definition at line 813 of file UTriangularFacet.cc.
| UTriangularFacet * UTriangularFacet::GetFlippedFacet | ( | ) |
Definition at line 183 of file UTriangularFacet.cc.
References GetVertex(), UABSOLUTE, and UTriangularFacet().
Here is the call graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 77 of file UTriangularFacet.hh.
|
virtual |
Implements VUFacet.
Definition at line 792 of file UTriangularFacet.cc.
References alpha, fE1, fE2, GetVertex(), and UUtils::Random().
Referenced by UQuadrangularFacet::GetPointOnFace().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
|
virtual |
Implements VUFacet.
Definition at line 818 of file UTriangularFacet.cc.
References fSurfaceNormal.
Referenced by UQuadrangularFacet::GetSurfaceNormal(), and UQuadrangularFacet::UQuadrangularFacet().
Here is the caller graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 82 of file UTriangularFacet.hh.
References fIndices.
Referenced by Distance(), Extent(), GetClone(), GetFlippedFacet(), GetPointOnFace(), UQuadrangularFacet::GetVertex(), Intersect(), and UTriangularFacet().
Here is the caller graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 114 of file UTriangularFacet.hh.
References fIndices.
Referenced by UQuadrangularFacet::GetVertexIndex().
Here is the caller graph for this function:
|
virtual |
Implements VUFacet.
Definition at line 580 of file UTriangularFacet.cc.
References UVector3::Cross(), DBL_EPSILON, VUFacet::dirTolerance, UVector3::Dot(), fA, fB, fC, fDet, fE1, fE2, fSqrDist, fSurfaceNormal, GetVertex(), UTessellatedGeometryAlgorithms::IntersectLineAndTriangle2D(), VUFacet::kCarTolerance, UUtils::kInfinity, UVector2::mag(), UVector3::Mag(), G4InuclParticleNames::pp, G4InuclParticleNames::s0, UVector3::Set(), and UVector3::Unit().
Referenced by UQuadrangularFacet::Intersect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 70 of file UTriangularFacet.hh.
References fIsDefined.
Referenced by UQuadrangularFacet::IsDefined().
Here is the caller graph for this function:| UTriangularFacet & UTriangularFacet::operator= | ( | const UTriangularFacet & | right | ) |
Definition at line 154 of file UTriangularFacet.cc.
References CopyFrom(), and SetVertices().
Here is the call graph for this function:| void UTriangularFacet::SetSurfaceNormal | ( | UVector3 | normal | ) |
Definition at line 823 of file UTriangularFacet.cc.
References fSurfaceNormal, and CLHEP::normal().
Here is the call graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 88 of file UTriangularFacet.hh.
Referenced by UQuadrangularFacet::SetVertex(), and UTriangularFacet().
Here is the caller graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 119 of file UTriangularFacet.hh.
References fIndices.
Referenced by UQuadrangularFacet::SetVertexIndex().
Here is the caller graph for this function:
|
inlinevirtual |
Implements VUFacet.
Definition at line 124 of file UTriangularFacet.hh.
References fIndices, and fVertices.
Referenced by operator=(), UQuadrangularFacet::SetVertices(), and ~UTriangularFacet().
Here is the caller graph for this function:
|
private |
Definition at line 144 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), Intersect(), and UTriangularFacet().
|
private |
Definition at line 133 of file UTriangularFacet.hh.
Referenced by CopyFrom(), GetArea(), and UTriangularFacet().
|
private |
Definition at line 144 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), Intersect(), and UTriangularFacet().
|
private |
Definition at line 144 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), Intersect(), and UTriangularFacet().
|
private |
Definition at line 134 of file UTriangularFacet.hh.
Referenced by Distance(), GetCircumcentre(), and UTriangularFacet().
|
private |
Definition at line 145 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), Intersect(), and UTriangularFacet().
|
private |
Definition at line 147 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), GetPointOnFace(), Intersect(), and UTriangularFacet().
|
private |
Definition at line 147 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), GetPointOnFace(), Intersect(), and UTriangularFacet().
|
private |
Definition at line 136 of file UTriangularFacet.hh.
Referenced by CopyFrom(), GetVertex(), GetVertexIndex(), SetVertexIndex(), SetVertices(), and UTriangularFacet().
|
private |
Definition at line 148 of file UTriangularFacet.hh.
Referenced by CopyFrom(), IsDefined(), and UTriangularFacet().
|
private |
Definition at line 135 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), GetRadius(), and UTriangularFacet().
|
private |
Definition at line 146 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), and Intersect().
|
private |
Definition at line 132 of file UTriangularFacet.hh.
Referenced by CopyFrom(), Distance(), GetSurfaceNormal(), Intersect(), SetSurfaceNormal(), and UTriangularFacet().
|
private |
Definition at line 138 of file UTriangularFacet.hh.
Referenced by CopyFrom(), SetVertices(), and UTriangularFacet().