168 #ifndef HEP_POLYHEDRON_HH 169 #define HEP_POLYHEDRON_HH 176 #ifndef DEFAULT_NUMBER_OF_STEPS 177 #define DEFAULT_NUMBER_OF_STEPS 24 191 { edge[0].
v=v1; edge[0].
f=
f1; edge[1].
v=v2; edge[1].
f=
f2;
192 edge[2].
v=v3; edge[2].
f=
f3; edge[3].
v=v4; edge[3].
f=
f4; }
205 void AllocateMemory(
G4int Nvert,
G4int Nface);
233 void SetReferences();
279 {
return GetNextEdgeIndices(i1,i2,edgeFlag,iface1,iface2);}
284 {
return GetNextEdgeIndices(i1,i2,edgeFlag);}
295 G4int *edgeFlags = 0,
G4int *iFaces = 0)
const;
329 static G4int GetNumberOfRotationSteps();
332 static void SetNumberOfRotationSteps(
G4int n);
335 static void ResetNumberOfRotationSteps();
G4bool GetNextEdgeIndeces(G4int &i1, G4int &i2, G4int &edgeFlag) const
G4bool GetNextEdgeIndeces(G4int &i1, G4int &i2, G4int &edgeFlag, G4int &iface1, G4int &iface2) const
G4int GetNoFacets() const
static double normal(HepRandomEngine *eptr)
static G4ThreadLocal G4int fNumberOfRotationSteps
friend class HepPolyhedron
friend std::ostream & operator<<(std::ostream &, const G4Facet &facet)
G4Facet(G4int v1=0, G4int f1=0, G4int v2=0, G4int f2=0, G4int v3=0, G4int f3=0, G4int v4=0, G4int f4=0)
G4int GetNoVertices() const
G4int GetNoVerteces() const