65 AllocateMemory(nVertices, nFacets);
80 G4cerr <<
"ERROR IN G4PolyhedronArbitrary::AddVertex" <<
G4endl;
99 G4cerr <<
"ERROR IN G4PolyhedronArbitrary::AddFacet" <<
G4endl;
104 else if (iv1 < 1 || iv1 > nvert || iv2 < 1 || iv2 > nvert ||
105 iv3 < 1 || iv3 > nvert || iv4 > nvert)
108 G4cerr <<
"ERROR IN G4PolyhedronArbitrary::AddFacet" <<
G4endl;
109 G4cerr <<
"ATTEMPT TO INDEX VERTEX NUMBER WHICH IS OUT-OF-RANGE : " <<
G4endl;
116 G4cerr <<
"ERROR IN G4PolyhedronArbitrary::AddFacet" <<
G4endl;
117 G4cerr <<
"VERTEX NEEDS TO BE DEFINED FIRST : " <<
G4endl;
123 pF[
nFacetCount] = G4Facet(iv1, 0, iv2, 0, iv3, 0, iv4, 0);
CLHEP::Hep3Vector G4ThreeVector
G4PolyhedronArbitrary(const G4int nVertices, const G4int nFacets)
void AddVertex(const G4ThreeVector &v)
virtual ~G4PolyhedronArbitrary()
void AddFacet(const G4int iv1, const G4int iv2, const G4int iv3, const G4int iv4=0)
G4GLOB_DLL std::ostream G4cerr