89 #if defined(G4GEOM_USE_USOLIDS)
90 #define G4GEOM_USE_UTORUS 1
93 #if (defined(G4GEOM_USE_UTORUS) && defined(G4GEOM_USE_SYS_USOLIDS))
94 #define G4UTorus G4Torus
156 std::ostream&
StreamInfo(std::ostream& os)
const;
182 std::vector<G4double>& roots)
const ;
187 G4bool IsDistanceToIn)
const;
195 G4double fRmin,fRmax,fRtor,fSPhi,fDPhi;
198 enum ESide {kNull,kRMin,kRMax,kSPhi,kEPhi};
201 enum ENorm {kNRMin,kNRMax,kNSPhi,kNEPhi};
203 G4double fRminTolerance, fRmaxTolerance, kRadTolerance, kAngTolerance;
206 G4double halfCarTolerance, halfAngTolerance;
211 #include "G4Torus.icc"
213 #endif // defined(G4GEOM_USE_UTORUS) && defined(G4GEOM_USE_SYS_USOLIDS)
EInside Inside(const G4ThreeVector &p) const
G4Polyhedron * CreatePolyhedron() const
G4Torus & operator=(const G4Torus &rhs)
std::ostream & StreamInfo(std::ostream &os) const
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
G4double GetSinStartPhi() const
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pmin, G4double &pmax) const
G4double GetSinEndPhi() const
void Extent(G4ThreeVector &pMin, G4ThreeVector &pMax) const
G4double GetCubicVolume()
G4double GetCosEndPhi() const
G4Torus(const G4String &pName, G4double pRmin, G4double pRmax, G4double pRtor, G4double pSPhi, G4double pDPhi)
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
G4ThreeVector GetPointOnSurface() const
G4double GetCosStartPhi() const
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=G4bool(false), G4bool *validNorm=0, G4ThreeVector *n=0) const
G4GeometryType GetEntityType() const
void SetAllParameters(G4double pRmin, G4double pRmax, G4double pRtor, G4double pSPhi, G4double pDPhi)
G4double GetSurfaceArea()
void DescribeYourselfTo(G4VGraphicsScene &scene) const