43 #ifndef G4UGENERICPOLYCONE_hh
44 #define G4UGENERICPOLYCONE_hh
48 #if defined(G4GEOM_USE_USOLIDS)
50 #include "UGenericPolycone.hh"
53 class G4UGenericPolycone :
public G4USolid
64 ~G4UGenericPolycone();
66 inline UGenericPolycone* GetShape()
const;
70 inline G4bool IsOpen()
const;
71 inline G4int GetNumRZCorner()
const;
76 G4UGenericPolycone(__void__&);
81 G4UGenericPolycone(
const G4UGenericPolycone& source );
82 G4UGenericPolycone &operator=(
const G4UGenericPolycone& source);
91 inline UGenericPolycone* G4UGenericPolycone::GetShape()
const
93 return (UGenericPolycone*) fShape;
96 inline G4double G4UGenericPolycone::GetStartPhi()
const
98 return GetShape()->GetStartPhi();
100 inline G4double G4UGenericPolycone::GetEndPhi()
const
102 return GetShape()->GetEndPhi();
104 inline G4bool G4UGenericPolycone::IsOpen()
const
106 return GetShape()->IsOpen();
108 inline G4int G4UGenericPolycone::GetNumRZCorner()
const
110 return GetShape()->GetNumRZCorner();
114 UPolyconeSideRZ pside = GetShape()->GetCorner(index);
120 #endif // G4GEOM_USE_USOLIDS