43 #ifndef G4UGENERICTRAP_hh
44 #define G4UGENERICTRAP_hh
57 const std::vector<G4TwoVector>& vertices);
66 inline const std::vector<G4TwoVector>&
GetVertices()
const;
112 static std::vector<G4TwoVector> vertices; vertices.clear();
113 for (
size_t n=0;
n<v.size(); ++
n)
G4Polyhedron * CreatePolyhedron() const
const std::vector< G4TwoVector > & GetVertices() const
void SetZHalfLength(double)
UGenericTrap * GetShape() const
G4double GetZHalfLength() const
G4TwoVector GetVertex(G4int index) const
G4int GetVisSubdivisions() const
void SetVisSubdivisions(int subdiv)
G4UGenericTrap(const G4String &name, G4double halfZ, const std::vector< G4TwoVector > &vertices)
int GetNofVertices() const
int GetVisSubdivisions() const
void SetVisSubdivisions(G4int subdiv)
const std::vector< UVector2 > & GetVertices() const
G4int GetNofVertices() const
void SetZHalfLength(G4double)
double GetTwistAngle(int index) const
G4UGenericTrap & operator=(const G4UGenericTrap &source)
G4double GetTwistAngle(G4int index) const
CLHEP::Hep2Vector G4TwoVector
UVector2 GetVertex(int index) const
double GetZHalfLength() const