47 #ifndef __G4TWISTTUBSSIDE__
48 #define __G4TWISTTUBSSIDE__
98 G4bool isglobal =
false)
const ;
101 G4bool isGlobal =
false) ;
129 virtual void SetCorners();
131 virtual void SetCorners(
G4double endInnerRad[2],
136 virtual void SetBoundaries();
160 if (isglobal) {
return (
fRot * xx +
fTrans); }
170 if (isGlobal) {
return (
fRot * SurfPoint +
fTrans); }
virtual void GetFacets(G4int m, G4int n, G4double xyz[][3], G4int faces[][4], G4int iside)
virtual G4ThreeVector GetNormal(const G4ThreeVector &xx, G4bool isGlobal=false)
static const G4double kInfinity
virtual ~G4TwistTubsSide()
double B(double temperature)
HepRotation inverse() const
virtual G4double GetSurfaceArea()
double A(double temperature)
static constexpr double m
virtual G4double GetBoundaryMax(G4double phi)
virtual G4ThreeVector SurfacePoint(G4double, G4double, G4bool isGlobal=false)
virtual G4double GetBoundaryMin(G4double phi)
virtual G4int DistanceToSurface(const G4ThreeVector &gp, const G4ThreeVector &gv, G4ThreeVector gxx[], G4double distance[], G4int areacode[], G4bool isvalid[], EValidate validate=kValidateWithTol)
G4TwistTubsSide(const G4String &name, const G4RotationMatrix &rot, const G4ThreeVector &tlate, G4int handedness, const G4double kappa, const EAxis axis0=kXAxis, const EAxis axis1=kZAxis, G4double axis0min=-kInfinity, G4double axis1min=-kInfinity, G4double axis0max=kInfinity, G4double axis1max=kInfinity)
G4ThreeVector ProjectAtPXPZ(const G4ThreeVector &p, G4bool isglobal=false) const