69 #if defined(G4GEOM_USE_USOLIDS)
70 #define G4GEOM_USE_UCONS 1
73 #if defined(G4GEOM_USE_UCONS)
74 #define G4UCons G4Cons
152 std::ostream&
StreamInfo(std::ostream& os)
const;
186 inline void Initialize();
190 inline void CheckSPhiAngle(
G4double sPhi);
191 inline void CheckDPhiAngle(
G4double dPhi);
196 inline void InitializeTrigonometry();
209 enum ESide {kNull,kRMin,kRMax,kSPhi,kEPhi,kPZ,kMZ};
213 enum ENorm {kNRMin,kNRMax,kNSPhi,kNEPhi,kNZ};
215 G4double kRadTolerance, kAngTolerance;
219 G4double fRmin1, fRmin2, fRmax1, fRmax2, fDz, fSPhi, fDPhi;
223 G4double sinCPhi, cosCPhi, cosHDPhiOT, cosHDPhiIT,
224 sinSPhi, cosSPhi, sinEPhi, cosEPhi;
232 G4double halfCarTolerance, halfRadTolerance, halfAngTolerance;
237 #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)
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)
void SetDeltaPhiAngle(G4double newDPhi)
std::vector< G4ThreeVector > G4ThreeVectorList
G4double GetStartPhiAngle() const
G4double GetInnerRadiusPlusZ() const
G4double GetCubicVolume()
G4double GetRmin1() const
G4double GetSurfaceArea()
G4Polyhedron * CreatePolyhedron() const
void DescribeYourselfTo(G4VGraphicsScene &scene) const
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pmin, G4double &pmax) 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