36#ifndef G4TWISTTUBSSIDE_HH
37#define G4TWISTTUBSSIDE_HH
113 G4bool isGlobal =
false)
override ;
145 G4int areacode[])
override;
151 G4bool isglobal =
false)
const ;
164 G4bool isGlobal =
false)
override ;
191 G4bool withTol =
true)
override;
196 void SetCorners()
override;
197 void SetCorners(
G4double endInnerRad[2],
201 void SetBoundaries()
override;
219 if (isglobal) { tmpp =
fRot.inverse()*p -
fTrans; }
222 if (isglobal) {
return (
fRot * xx +
fTrans); }
232 if (isGlobal) {
return (
fRot * SurfPoint +
fTrans); }
G4double C(G4double temp)
G4double B(G4double temperature)
G4double D(G4double temp)
CLHEP::HepRotation G4RotationMatrix
CLHEP::Hep3Vector G4ThreeVector
G4ThreeVector ProjectAtPXPZ(const G4ThreeVector &p, G4bool isglobal=false) const
G4ThreeVector GetNormal(const G4ThreeVector &p, G4bool isGlobal=false) override
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)
G4int DistanceToSurface(const G4ThreeVector &gp, const G4ThreeVector &gv, G4ThreeVector gxx[], G4double distance[], G4int areacode[], G4bool isvalid[], EValidate validate=kValidateWithTol) override
~G4TwistTubsSide() override=default
G4VTwistSurface(const G4String &name)
virtual G4double GetSurfaceArea()=0