35 #ifndef UTriangularFacet_hh
36 #define UTriangularFacet_hh 1
62 double Distance(
const UVector3& p,
const double minDist,
const bool outgoing);
85 return indice < 0 ? (*fVertices)[i] : (*fVertices)[indice];
90 (*fVertices)[i] = val;
107 int size =
sizeof(*this);
UTriangularFacet & operator=(const UTriangularFacet &right)
void SetVertexIndex(int i, int j)
UVector3 GetPointOnFace() const
UVector3 GetSurfaceNormal() const
void SetSurfaceNormal(UVector3 normal)
UVector3 GetCircumcentre() const
static double normal(HepRandomEngine *eptr)
void CopyFrom(const UTriangularFacet &rhs)
void SetVertex(int i, const UVector3 &val)
int GetVertexIndex(int i) const
int GetNumberOfVertices() const
UTriangularFacet * GetFlippedFacet()
UVector3 GetVertex(int i) const
std::vector< UVector3 > * fVertices
std::string UGeometryType
double Extent(const UVector3 axis)
bool Intersect(const UVector3 &p, const UVector3 &v, const bool outgoing, double &distance, double &distFromSurface, UVector3 &normal)
UGeometryType GetEntityType() const
void SetVertices(std::vector< UVector3 > *v)
UVector3 Distance(const UVector3 &p)