69 #if defined(G4GEOM_USE_USOLIDS)
70 #define G4GEOM_USE_UCONS 1
73 #if defined(G4GEOM_USE_UCONS)
74 #define G4UCons G4Cons
159 std::ostream&
StreamInfo(std::ostream& os)
const;
190 inline void Initialize();
194 inline void CheckSPhiAngle(
G4double sPhi);
195 inline void CheckDPhiAngle(
G4double dPhi);
200 inline void InitializeTrigonometry();
213 enum ESide {kNull,kRMin,kRMax,kSPhi,kEPhi,kPZ,kMZ};
217 enum ENorm {kNRMin,kNRMax,kNSPhi,kNEPhi,kNZ};
219 G4double kRadTolerance, kAngTolerance;
223 G4double fRmin1, fRmin2, fRmax1, fRmax2, fDz, fSPhi, fDPhi;
227 G4double sinCPhi, cosCPhi, cosHDPhiOT, cosHDPhiIT,
228 sinSPhi, cosSPhi, sinEPhi, cosEPhi;
236 G4double halfCarTolerance, halfRadTolerance, halfAngTolerance;
241 #include "G4Cons.icc"
G4Cons(const G4String &pName, G4double pRmin1, G4double pRmax1, G4double pRmin2, G4double pRmax2, G4double pDz, G4double pSPhi, G4double pDPhi)
void SetZHalfLength(G4double newDz)
G4double GetSinEndPhi() const
void SetInnerRadiusMinusZ(G4double Rmin1)
G4Cons & operator=(const G4Cons &rhs)
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
EInside Inside(const G4ThreeVector &p) const
G4double GetRmin2() const
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=G4bool(false), G4bool *validNorm=0, G4ThreeVector *n=0) const
void SetOuterRadiusPlusZ(G4double Rmax2)
std::ostream & StreamInfo(std::ostream &os) const
G4double GetOuterRadiusMinusZ() const
G4GeometryType GetEntityType() const
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
G4double GetSinStartPhi() const
void SetDeltaPhiAngle(G4double newDPhi)
G4double GetStartPhiAngle() const
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
G4double GetInnerRadiusPlusZ() const
G4double GetCubicVolume()
G4double GetCosEndPhi() const
void Extent(G4ThreeVector &pMin, G4ThreeVector &pMax) const
G4double GetCosStartPhi() const
G4double GetRmin1() const
G4double GetSurfaceArea()
G4Polyhedron * CreatePolyhedron() const
void DescribeYourselfTo(G4VGraphicsScene &scene) const
void SetOuterRadiusMinusZ(G4double Rmax1)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
G4ThreeVector GetPointOnSurface() const
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
G4double GetInnerRadiusMinusZ() const
void SetInnerRadiusPlusZ(G4double Rmin2)
G4double GetOuterRadiusPlusZ() const
G4double GetRmax2() const
G4double GetZHalfLength() const
G4double GetDeltaPhiAngle() const
G4double GetRmax1() const