G4TwistTrapParallelSide


Directory: source/geometry/solids/specific/include
File Name: G4TwistTrapParallelSide.hh






Class Description :

  
  
    Class describing a twisted boundary surface for a trapezoid.


Public members :

   
    G4TwistTrapParallelSide(const G4String &name,
                              G4double  PhiTwist, // twist angle
                              G4double  pDz,      // half z lenght
                              G4double  pTheta, // direction between end planes
                              G4double  pPhi,   // by polar and azimutal angles
                              G4double  pDy1,     // half y length at -pDz
                              G4double  pDx1,     // half x length at -pDz,-pDy
                              G4double  pDx2,     // half x length at -pDz,+pDy
                              G4double  pDy2,     // half y length at +pDz
                              G4double  pDx3,     // half x length at +pDz,-pDy
                              G4double  pDx4,     // half x length at +pDz,+pDy
                              G4double  pAlph,    // tilt angle at +pDz
                              G4double  AngleSide // parity
                            );
  
    virtual ~G4TwistTrapParallelSide();
   
    virtual G4ThreeVector  GetNormal(const G4ThreeVector &xx,
                                           G4bool isGlobal = false) ;   
   
    virtual G4int DistanceToSurface(const G4ThreeVector &gp,
                                    const G4ThreeVector &gv,
                                          G4ThreeVector  gxx[],
                                          G4double  distance[],
                                          G4int     areacode[],
                                          G4bool    isvalid[],
                                    EValidate validate = kValidateWithTol);
                                                  
    virtual G4int DistanceToSurface(const G4ThreeVector &gp,
                                          G4ThreeVector  gxx[],
                                          G4double       distance[],
                                          G4int          areacode[]);