50#ifndef G4TRIANGULARFACET_HH
51#define G4TRIANGULARFACET_HH 1
106 inline void SetVertices(std::vector<G4ThreeVector>* v);
144 return indice < 0 ? (*fVertices)[i] : (*fVertices)[indice];
149 (*fVertices)[i] = val;
164 G4int size =
sizeof(*this);
172 else return 999999999;
CLHEP::Hep3Vector G4ThreeVector
void SetSurfaceNormal(G4ThreeVector normal)
G4ThreeVector fCircumcentre
void SetVertex(G4int i, const G4ThreeVector &val)
std::vector< G4ThreeVector > * fVertices
G4ThreeVector GetPointOnFace() const
G4ThreeVector GetCircumcentre() const
void SetVertices(std::vector< G4ThreeVector > *v)
G4bool Intersect(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool outgoing, G4double &distance, G4double &distFromSurface, G4ThreeVector &normal)
G4TriangularFacet & operator=(const G4TriangularFacet &right)
G4int GetNumberOfVertices() const
G4TriangularFacet * GetFlippedFacet()
G4GeometryType GetEntityType() const
void SetVertexIndex(G4int i, G4int j)
G4ThreeVector Distance(const G4ThreeVector &p)
void MoveFrom(G4TriangularFacet &rhs)
G4int GetVertexIndex(G4int i) const
G4ThreeVector GetVertex(G4int i) const
G4double GetRadius() const
G4ThreeVector GetSurfaceNormal() const
G4double Extent(const G4ThreeVector axis)
void CopyFrom(const G4TriangularFacet &rhs)
std::array< G4int, 3 > fIndices
G4ThreeVector fSurfaceNormal
static double normal(HepRandomEngine *eptr)