43#ifndef G4ELLIPTICALTUBE_HH
44#define G4ELLIPTICALTUBE_HH
48#if defined(G4GEOM_USE_USOLIDS)
49#define G4GEOM_USE_UELLIPTICALTUBE 1
52#if (defined(G4GEOM_USE_UELLIPTICALTUBE) && defined(G4GEOM_USE_SYS_USOLIDS))
53 #define G4UEllipticalTube G4EllipticalTube
91 const G4bool calcNorm =
false,
92 G4bool* validNorm =
nullptr,
101 std::ostream&
StreamInfo(std::ostream& os)
const override;
136 void CheckParameters();
143 G4double GetCachedSurfaceArea()
const;
168 mutable G4bool fRebuildPolyhedron =
false;
172#include "G4EllipticalTube.icc"
G4ThreeVector GetPointOnSurface() const override
G4EllipticalTube & operator=(const G4EllipticalTube &rhs)
G4double GetSurfaceArea() override
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const override
EInside Inside(const G4ThreeVector &p) const override
G4Polyhedron * CreatePolyhedron() const override
G4GeometryType GetEntityType() const override
G4VisExtent GetExtent() const override
std::ostream & StreamInfo(std::ostream &os) const override
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const override
G4Polyhedron * GetPolyhedron() const override
G4VSolid * Clone() const override
~G4EllipticalTube() override
void DescribeYourselfTo(G4VGraphicsScene &scene) const override
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pmin, G4double &pmax) const override
G4EllipticalTube(const G4String &name, G4double Dx, G4double Dy, G4double Dz)
void BoundingLimits(G4ThreeVector &pMin, G4ThreeVector &pMax) const override
G4double GetCubicVolume() override
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=nullptr, G4ThreeVector *n=nullptr) const override