63#if defined(G4GEOM_USE_USOLIDS)
64#define G4GEOM_USE_UCONS 1
67#if defined(G4GEOM_USE_UCONS)
68 #define G4UCons G4Cons
142 const G4bool calcNorm =
false,
143 G4bool* validNorm =
nullptr,
153 std::ostream&
StreamInfo(std::ostream& os)
const;
184 inline void Initialize();
188 inline void CheckSPhiAngle(
G4double sPhi);
189 inline void CheckDPhiAngle(
G4double dPhi);
194 inline void InitializeTrigonometry();
207 enum ESide {kNull,kRMin,kRMax,kSPhi,kEPhi,kPZ,kMZ};
211 enum ENorm {kNRMin,kNRMax,kNSPhi,kNEPhi,kNZ};
213 G4double kRadTolerance, kAngTolerance;
217 G4double fRmin1, fRmin2, fRmax1, fRmax2, fDz, fSPhi, fDPhi;
221 G4double sinCPhi, cosCPhi, cosHDPhi, cosHDPhiOT, cosHDPhiIT,
222 sinSPhi, cosSPhi, sinEPhi, cosEPhi;
226 G4bool fPhiFullCone =
false;
230 G4double halfCarTolerance, halfRadTolerance, halfAngTolerance;
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
G4double GetOuterRadiusPlusZ() const
G4double GetCosStartPhi() const
void SetInnerRadiusPlusZ(G4double Rmin2)
void SetZHalfLength(G4double newDz)
G4double GetStartPhiAngle() const
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
G4double GetRmin2() const
G4double GetDeltaPhiAngle() const
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
void DescribeYourselfTo(G4VGraphicsScene &scene) const
void SetOuterRadiusMinusZ(G4double Rmax1)
G4double GetInnerRadiusMinusZ() const
void SetOuterRadiusPlusZ(G4double Rmax2)
G4double GetRmax1() const
G4double GetRmin1() const
G4double GetInnerRadiusPlusZ() const
G4GeometryType GetEntityType() const
G4double GetSurfaceArea()
void SetDeltaPhiAngle(G4double newDPhi)
void BoundingLimits(G4ThreeVector &pMin, G4ThreeVector &pMax) const
void SetInnerRadiusMinusZ(G4double Rmin1)
G4double GetCosEndPhi() const
G4Polyhedron * CreatePolyhedron() const
G4double GetCubicVolume()
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
G4double GetOuterRadiusMinusZ() const
G4double GetSinEndPhi() const
G4Cons & operator=(const G4Cons &rhs)
G4double GetSinStartPhi() const
G4double GetRmax2() const
EInside Inside(const G4ThreeVector &p) const
G4ThreeVector GetPointOnSurface() const
G4double GetZHalfLength() const
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const
std::ostream & StreamInfo(std::ostream &os) const