#include <G4QuadrangularFacet.hh>
|
| G4QuadrangularFacet (const G4ThreeVector &Pt0, const G4ThreeVector &vt1, const G4ThreeVector &vt2, const G4ThreeVector &vt3, G4FacetVertexType) |
|
| G4QuadrangularFacet (const G4QuadrangularFacet &right) |
|
| ~G4QuadrangularFacet () |
|
G4QuadrangularFacet & | operator= (const G4QuadrangularFacet &right) |
|
G4VFacet * | GetClone () |
|
G4ThreeVector | Distance (const G4ThreeVector &p) |
|
G4double | Distance (const G4ThreeVector &p, G4double minDist) |
|
G4double | Distance (const G4ThreeVector &p, G4double minDist, const G4bool outgoing) |
|
G4double | Extent (const G4ThreeVector axis) |
|
G4bool | Intersect (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool outgoing, G4double &distance, G4double &distFromSurface, G4ThreeVector &normal) |
|
G4ThreeVector | GetSurfaceNormal () const |
|
G4double | GetArea () |
|
G4ThreeVector | GetPointOnFace () const |
|
G4GeometryType | GetEntityType () const |
|
G4bool | IsDefined () const |
|
G4int | GetNumberOfVertices () const |
|
G4ThreeVector | GetVertex (G4int i) const |
|
void | SetVertex (G4int i, const G4ThreeVector &val) |
|
void | SetVertices (std::vector< G4ThreeVector > *v) |
|
G4double | GetRadius () const |
|
G4ThreeVector | GetCircumcentre () const |
|
virtual | ~G4VFacet () |
|
G4bool | operator== (const G4VFacet &right) const |
|
void | ApplyTranslation (const G4ThreeVector v) |
|
std::ostream & | StreamInfo (std::ostream &os) const |
|
G4bool | IsInside (const G4ThreeVector &p) const |
|
Definition at line 69 of file G4QuadrangularFacet.hh.
◆ G4QuadrangularFacet() [1/2]
Definition at line 54 of file G4QuadrangularFacet.cc.
93 normal1.
dot(normal2) >= 0.9999999999);
108 + facet4.GetSurfaceNormal();
117 fRadius = std::sqrt(radiusSqr);
121 G4Exception(
"G4QuadrangularFacet::G4QuadrangularFacet()",
123 "Length of sides of facet are too small or sides not planar.");
G4TriangularFacet fFacet1
static const G4double kCarTolerance
G4ThreeVector GetSurfaceNormal() const
G4ThreeVector GetVertex(G4int i) const
static double normal(HepRandomEngine *eptr)
G4GLOB_DLL std::ostream G4cout
Hep3Vector cross(const Hep3Vector &) const
void SetSurfaceNormal(G4ThreeVector normal)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
double dot(const Hep3Vector &) const
void SetVertex(G4int i, const G4ThreeVector &val)
G4TriangularFacet fFacet2
G4ThreeVector fCircumcentre
◆ G4QuadrangularFacet() [2/2]
◆ ~G4QuadrangularFacet()
G4QuadrangularFacet::~G4QuadrangularFacet |
( |
| ) |
|
◆ AllocatedMemory()
G4int G4QuadrangularFacet::AllocatedMemory |
( |
| ) |
|
|
inlineprivatevirtual |
◆ Distance() [1/3]
Definition at line 181 of file G4QuadrangularFacet.cc.
186 if (v1.
mag2() < v2.
mag2())
return v1;
G4TriangularFacet fFacet1
G4TriangularFacet fFacet2
G4ThreeVector Distance(const G4ThreeVector &p)
◆ Distance() [2/3]
◆ Distance() [3/3]
Implements G4VFacet.
Definition at line 201 of file G4QuadrangularFacet.cc.
static const G4double kInfinity
G4ThreeVector GetSurfaceNormal() const
static const G4double dirTolerance
double dot(const Hep3Vector &) const
G4ThreeVector Distance(const G4ThreeVector &p)
◆ Extent()
Implements G4VFacet.
Definition at line 218 of file G4QuadrangularFacet.cc.
222 for (
G4int i = 0; i <= 3; ++i)
225 if (sp > ss) ss =
sp;
G4ThreeVector GetVertex(G4int i) const
double dot(const Hep3Vector &) const
◆ GetArea()
G4double G4QuadrangularFacet::GetArea |
( |
| ) |
|
|
virtual |
◆ GetCircumcentre()
◆ GetClone()
G4VFacet * G4QuadrangularFacet::GetClone |
( |
| ) |
|
|
virtual |
Implements G4VFacet.
Definition at line 171 of file G4QuadrangularFacet.cc.
G4ThreeVector GetVertex(G4int i) const
G4QuadrangularFacet(const G4ThreeVector &Pt0, const G4ThreeVector &vt1, const G4ThreeVector &vt2, const G4ThreeVector &vt3, G4FacetVertexType)
◆ GetEntityType()
G4String G4QuadrangularFacet::GetEntityType |
( |
| ) |
const |
|
virtual |
◆ GetNumberOfVertices()
G4int G4QuadrangularFacet::GetNumberOfVertices |
( |
| ) |
const |
|
inlinevirtual |
◆ GetPointOnFace()
Implements G4VFacet.
Definition at line 255 of file G4QuadrangularFacet.cc.
ThreeVector shoot(const G4int Ap, const G4int Af)
G4TriangularFacet fFacet1
G4ThreeVector GetPointOnFace() const
G4TriangularFacet fFacet2
◆ GetRadius()
G4double G4QuadrangularFacet::GetRadius |
( |
| ) |
const |
|
inlinevirtual |
◆ GetSurfaceNormal()
◆ GetVertex()
Implements G4VFacet.
Definition at line 131 of file G4QuadrangularFacet.hh.
G4TriangularFacet fFacet1
G4TriangularFacet fFacet2
G4ThreeVector GetVertex(G4int i) const
◆ GetVertexIndex()
G4int G4QuadrangularFacet::GetVertexIndex |
( |
G4int |
i | ) |
const |
|
inlineprivatevirtual |
◆ Intersect()
Implements G4VFacet.
Definition at line 232 of file G4QuadrangularFacet.cc.
241 if (!intersect) intersect =
void set(double x, double y, double z)
G4TriangularFacet fFacet1
G4bool Intersect(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool outgoing, G4double &distance, G4double &distFromSurface, G4ThreeVector &normal)
static const G4double kInfinity
G4TriangularFacet fFacet2
◆ IsDefined()
G4bool G4QuadrangularFacet::IsDefined |
( |
| ) |
const |
|
inlinevirtual |
◆ operator=()
◆ SetVertex()
Implements G4VFacet.
Definition at line 147 of file G4QuadrangularFacet.hh.
G4TriangularFacet fFacet1
void SetVertex(G4int i, const G4ThreeVector &val)
G4TriangularFacet fFacet2
◆ SetVertexIndex()
void G4QuadrangularFacet::SetVertexIndex |
( |
G4int |
i, |
|
|
G4int |
val |
|
) |
| |
|
inlineprivatevirtual |
Implements G4VFacet.
Definition at line 185 of file G4QuadrangularFacet.hh.
G4TriangularFacet fFacet1
void SetVertexIndex(G4int i, G4int j)
G4TriangularFacet fFacet2
◆ SetVertices()
void G4QuadrangularFacet::SetVertices |
( |
std::vector< G4ThreeVector > * |
v | ) |
|
|
inlinevirtual |
Implements G4VFacet.
Definition at line 168 of file G4QuadrangularFacet.hh.
G4TriangularFacet fFacet1
void SetVertices(std::vector< G4ThreeVector > *v)
G4TriangularFacet fFacet2
◆ fCircumcentre
◆ fFacet1
◆ fFacet2
◆ fRadius
The documentation for this class was generated from the following files: