78#if defined(G4GEOM_USE_USOLIDS)
79#define G4GEOM_USE_UTORUS 1
82#if (defined(G4GEOM_USE_UTORUS) && defined(G4GEOM_USE_SYS_USOLIDS))
83 #define G4UTorus G4Torus
135 const G4bool calcNorm =
false,
136 G4bool* validNorm =
nullptr,
146 std::ostream&
StreamInfo(std::ostream& os)
const;
172 std::vector<G4double>& roots)
const ;
177 G4bool IsDistanceToIn)
const;
185 G4double fRmin,fRmax,fRtor,fSPhi,fDPhi;
188 enum ESide {kNull,kRMin,kRMax,kSPhi,kEPhi};
191 enum ENorm {kNRMin,kNRMax,kNSPhi,kNEPhi};
193 G4double fRminTolerance, fRmaxTolerance, kRadTolerance, kAngTolerance;
196 G4double halfCarTolerance, halfAngTolerance;
201#include "G4Torus.icc"
EInside Inside(const G4ThreeVector &p) const
G4double GetSurfaceArea()
G4Torus & operator=(const G4Torus &rhs)
G4GeometryType GetEntityType() const
G4double GetSinEndPhi() const
void BoundingLimits(G4ThreeVector &pMin, G4ThreeVector &pMax) const
G4double GetCubicVolume()
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pmin, G4double &pmax) const
void SetAllParameters(G4double pRmin, G4double pRmax, G4double pRtor, G4double pSPhi, G4double pDPhi)
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
G4ThreeVector GetPointOnSurface() const
void DescribeYourselfTo(G4VGraphicsScene &scene) const
std::ostream & StreamInfo(std::ostream &os) const
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const
G4double GetCosStartPhi() const
G4double GetCosEndPhi() const
G4Polyhedron * CreatePolyhedron() const
G4double GetSinStartPhi() const