47 #if defined(G4GEOM_USE_USOLIDS)
52 class G4UTorus :
public G4USolid
69 inline UTorus* GetShape()
const;
93 G4UTorus(
const G4UTorus& rhs);
94 G4UTorus& operator=(
const G4UTorus& rhs);
102 inline UTorus* G4UTorus::GetShape()
const
104 return (UTorus*) fShape;
107 inline G4double G4UTorus::GetRmin()
const
109 return GetShape()->GetRmin();
112 inline G4double G4UTorus::GetRmax()
const
114 return GetShape()->GetRmax();
117 inline G4double G4UTorus::GetRtor()
const
119 return GetShape()->GetRtor();
122 inline G4double G4UTorus::GetSPhi()
const
124 return GetShape()->GetSPhi();
127 inline G4double G4UTorus::GetDPhi()
const
129 return GetShape()->GetDPhi();
132 inline void G4UTorus::SetRmin(
G4double arg)
134 GetShape()->SetRmin(arg);
135 fRebuildPolyhedron =
true;
138 inline void G4UTorus::SetRmax(
G4double arg)
140 GetShape()->SetRmax(arg);
141 fRebuildPolyhedron =
true;
144 inline void G4UTorus::SetRtor(
G4double arg)
146 GetShape()->SetRtor(arg);
147 fRebuildPolyhedron =
true;
150 inline void G4UTorus::SetSPhi(
G4double arg)
152 GetShape()->SetSPhi(arg);
153 fRebuildPolyhedron =
true;
156 inline void G4UTorus::SetDPhi(
G4double arg)
158 GetShape()->SetDPhi(arg);
159 fRebuildPolyhedron =
true;
165 GetShape()->SetRmin(arg1);
166 GetShape()->SetRmax(arg2);
167 GetShape()->SetRtor(arg3);
168 GetShape()->SetSPhi(arg4);
169 GetShape()->SetDPhi(arg5);
170 fRebuildPolyhedron =
true;
173 #endif // G4GEOM_USE_USOLIDS