44 #ifndef __G4TWISTTRAPALPHASIDE__
45 #define __G4TWISTTRAPALPHASIDE__
108 G4bool isGlobal =
false );
196 Xcoef(u,phi) * std::sin(phi)
199 if (isGlobal) {
return (
fRot * SurfPoint +
fTrans); }
233 - 4*
fDy1*std::sin(phi))),
245 +
fdeltaX*fTAlph))*std::sin(phi))/ 8. ) ;
virtual ~G4TwistTrapAlphaSide()
virtual G4int GetAreaCode(const G4ThreeVector &xx, G4bool withTol=true)
G4double GetValueA(G4double phi)
virtual void GetFacets(G4int m, G4int n, G4double xyz[][3], G4int faces[][4], G4int iside)
virtual void SetCorners()
virtual G4ThreeVector SurfacePoint(G4double phi, G4double u, G4bool isGlobal=false)
virtual G4double GetBoundaryMin(G4double phi)
G4double GetValueB(G4double phi)
virtual G4double GetBoundaryMax(G4double phi)
G4ThreeVector ProjectPoint(const G4ThreeVector &p, G4bool isglobal=false)
static constexpr double m
virtual G4int DistanceToSurface(const G4ThreeVector &gp, const G4ThreeVector &gv, G4ThreeVector gxx[], G4double distance[], G4int areacode[], G4bool isvalid[], EValidate validate=kValidateWithTol)
G4double Xcoef(G4double u, G4double phi)
G4ThreeVector NormAng(G4double phi, G4double u)
virtual G4ThreeVector GetNormal(const G4ThreeVector &xx, G4bool isGlobal=false)
G4double GetValueD(G4double phi)
virtual G4double GetSurfaceArea()
G4TwistTrapAlphaSide(const G4String &name, G4double PhiTwist, G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlph, G4double AngleSide)
virtual void SetBoundaries()
void GetPhiUAtX(G4ThreeVector p, G4double &phi, G4double &u)