43 #ifndef G4UGENERICTRAP_hh
44 #define G4UGENERICTRAP_hh
48 #if ( defined(G4GEOM_USE_USOLIDS) || defined(G4GEOM_USE_PARTIAL_USOLIDS) )
50 #include "UGenericTrap.hh"
55 class G4UGenericTrap :
public G4USolid
60 const std::vector<G4TwoVector>& vertices);
64 inline UGenericTrap* GetShape()
const;
67 G4int GetNofVertices()
const;
69 const std::vector<G4TwoVector>& GetVertices()
const;
72 G4int GetVisSubdivisions()
const;
73 void SetVisSubdivisions(
G4int subdiv);
80 G4UGenericTrap(__void__&);
85 G4UGenericTrap(
const G4UGenericTrap& source );
86 G4UGenericTrap &operator=(
const G4UGenericTrap& source);
103 inline UGenericTrap* G4UGenericTrap::GetShape()
const
105 return (UGenericTrap*) fShape;
110 return "G4GenericTrap";
113 #endif // G4GEOM_USE_USOLIDS