Geant4
10.02.p02
|
#include <G4TwistTrapFlatSide.hh>
Protected Member Functions | |
virtual G4int | GetAreaCode (const G4ThreeVector &xx, G4bool withTol=true) |
Protected Member Functions inherited from G4VTwistSurface | |
G4VTwistSurface ** | GetNeighbours () |
G4int | GetNeighbours (G4int areacode, G4VTwistSurface *surfaces[]) |
G4ThreeVector | GetCorner (G4int areacode) const |
void | GetBoundaryAxis (G4int areacode, EAxis axis[]) const |
void | GetBoundaryLimit (G4int areacode, G4double limit[]) const |
virtual void | SetBoundary (const G4int &axiscode, const G4ThreeVector &direction, const G4ThreeVector &x0, const G4int &boundarytype) |
void | SetCorner (G4int areacode, G4double x, G4double y, G4double z) |
Private Member Functions | |
virtual void | SetCorners () |
virtual void | SetBoundaries () |
double | xAxisMax (G4double u, G4double fTanAlpha) const |
Private Attributes | |
G4double | fDx1 |
G4double | fDx2 |
G4double | fDy |
G4double | fDz |
G4double | fPhiTwist |
G4double | fAlpha |
G4double | fTAlph |
G4double | fPhi |
G4double | fTheta |
G4double | fdeltaX |
G4double | fdeltaY |
Additional Inherited Members | |
Public Types inherited from G4VTwistSurface | |
enum | EValidate { kDontValidate = 0, kValidateWithTol = 1, kValidateWithoutTol = 2, kUninitialized = 3 } |
Static Public Attributes inherited from G4VTwistSurface | |
static const G4int | sOutside = 0x00000000 |
static const G4int | sInside = 0x10000000 |
static const G4int | sBoundary = 0x20000000 |
static const G4int | sCorner = 0x40000000 |
static const G4int | sC0Min1Min = 0x40000101 |
static const G4int | sC0Max1Min = 0x40000201 |
static const G4int | sC0Max1Max = 0x40000202 |
static const G4int | sC0Min1Max = 0x40000102 |
static const G4int | sAxisMin = 0x00000101 |
static const G4int | sAxisMax = 0x00000202 |
static const G4int | sAxisX = 0x00000404 |
static const G4int | sAxisY = 0x00000808 |
static const G4int | sAxisZ = 0x00000C0C |
static const G4int | sAxisRho = 0x00001010 |
static const G4int | sAxisPhi = 0x00001414 |
static const G4int | sAxis0 = 0x0000FF00 |
static const G4int | sAxis1 = 0x000000FF |
static const G4int | sSizeMask = 0x00000303 |
static const G4int | sAxisMask = 0x0000FCFC |
static const G4int | sAreaMask = 0XF0000000 |
Protected Attributes inherited from G4VTwistSurface | |
EAxis | fAxis [2] |
G4double | fAxisMin [2] |
G4double | fAxisMax [2] |
CurrentStatus | fCurStatWithV |
CurrentStatus | fCurStat |
G4RotationMatrix | fRot |
G4ThreeVector | fTrans |
G4int | fHandedness |
G4SurfCurNormal | fCurrentNormal |
G4bool | fIsValidNorm |
G4double | kCarTolerance |
Definition at line 50 of file G4TwistTrapFlatSide.hh.
G4TwistTrapFlatSide::G4TwistTrapFlatSide | ( | const G4String & | name, |
G4double | PhiTwist, | ||
G4double | pDx1, | ||
G4double | pDx2, | ||
G4double | pDy, | ||
G4double | pDz, | ||
G4double | pAlpha, | ||
G4double | pPhi, | ||
G4double | pTheta, | ||
G4int | handedness | ||
) |
Definition at line 46 of file G4TwistTrapFlatSide.cc.
References fAlpha, G4VTwistSurface::fAxis, G4VTwistSurface::fAxisMax, G4VTwistSurface::fAxisMin, G4VTwistSurface::fCurrentNormal, fdeltaX, fdeltaY, fDx1, fDx2, fDy, fDz, G4VTwistSurface::fHandedness, G4VTwistSurface::fIsValidNorm, fPhi, fPhiTwist, G4VTwistSurface::fRot, fTAlph, fTheta, G4VTwistSurface::fTrans, kInfinity, kXAxis, kYAxis, G4VTwistSurface::G4SurfCurNormal::normal, SetBoundaries(), and SetCorners().
|
virtual |
Definition at line 116 of file G4TwistTrapFlatSide.cc.
G4TwistTrapFlatSide::G4TwistTrapFlatSide | ( | __void__ & | a | ) |
Definition at line 106 of file G4TwistTrapFlatSide.cc.
|
virtual |
Implements G4VTwistSurface.
Definition at line 136 of file G4TwistTrapFlatSide.cc.
References G4VTwistSurface::ComputeGlobalPoint(), G4VTwistSurface::ComputeLocalDirection(), G4VTwistSurface::ComputeLocalPoint(), G4VTwistSurface::fCurStatWithV, G4cerr, G4endl, GetAreaCode(), G4VTwistSurface::CurrentStatus::GetAreacode(), G4VTwistSurface::CurrentStatus::GetDistance(), G4VTwistSurface::GetName(), G4VTwistSurface::CurrentStatus::GetNXX(), G4VTwistSurface::CurrentStatus::GetXX(), G4VTwistSurface::CurrentStatus::IsDone(), G4VTwistSurface::IsInside(), G4VTwistSurface::IsOutside(), G4VTwistSurface::CurrentStatus::IsValid(), kInfinity, G4VTwistSurface::kValidateWithoutTol, G4VTwistSurface::kValidateWithTol, G4VTwistSurface::CurrentStatus::ResetfDone(), G4VTwistSurface::CurrentStatus::SetCurrentStatus(), G4VTwistSurface::sInside, and G4VTwistSurface::sOutside.
|
virtual |
Implements G4VTwistSurface.
Definition at line 246 of file G4TwistTrapFlatSide.cc.
References G4VTwistSurface::ComputeGlobalPoint(), G4VTwistSurface::ComputeLocalPoint(), G4VTwistSurface::fCurStat, G4VTwistSurface::CurrentStatus::GetAreacode(), G4VTwistSurface::CurrentStatus::GetDistance(), G4VTwistSurface::CurrentStatus::GetNXX(), G4VTwistSurface::CurrentStatus::GetXX(), G4VTwistSurface::CurrentStatus::IsDone(), G4VTwistSurface::kCarTolerance, G4VTwistSurface::kDontValidate, kInfinity, G4VTwistSurface::CurrentStatus::ResetfDone(), G4VTwistSurface::CurrentStatus::SetCurrentStatus(), G4VTwistSurface::sInside, and G4VTwistSurface::sOutside.
|
protectedvirtual |
Implements G4VTwistSurface.
Definition at line 298 of file G4TwistTrapFlatSide.cc.
References FatalException, G4VTwistSurface::fAxis, G4VTwistSurface::fAxisMax, G4VTwistSurface::fAxisMin, fTAlph, G4Exception(), G4VTwistSurface::kCarTolerance, kXAxis, kYAxis, G4VTwistSurface::sAxis0, G4VTwistSurface::sAxis1, G4VTwistSurface::sAxisMax, G4VTwistSurface::sAxisMin, G4VTwistSurface::sAxisX, G4VTwistSurface::sAxisY, G4VTwistSurface::sBoundary, G4VTwistSurface::sCorner, G4VTwistSurface::sInside, and xAxisMax().
Referenced by DistanceToSurface().
Implements G4VTwistSurface.
Definition at line 150 of file G4TwistTrapFlatSide.hh.
References fTAlph, and xAxisMax().
Referenced by GetFacets().
Implements G4VTwistSurface.
Definition at line 144 of file G4TwistTrapFlatSide.hh.
References fTAlph, and xAxisMax().
Referenced by GetFacets().
|
virtual |
Implements G4VTwistSurface.
Definition at line 486 of file G4TwistTrapFlatSide.cc.
References fDy, G4VTwistSurface::fHandedness, GetBoundaryMax(), GetBoundaryMin(), G4VTwistSurface::GetEdgeVisibility(), G4VTwistSurface::GetFace(), G4VTwistSurface::GetNode(), n, SurfacePoint(), and x.
|
virtual |
Implements G4VTwistSurface.
Definition at line 123 of file G4TwistTrapFlatSide.cc.
References G4VTwistSurface::ComputeGlobalDirection(), G4VTwistSurface::fCurrentNormal, and G4VTwistSurface::G4SurfCurNormal::normal.
|
inlinevirtual |
Implements G4VTwistSurface.
Definition at line 156 of file G4TwistTrapFlatSide.hh.
|
privatevirtual |
Implements G4VTwistSurface.
Definition at line 440 of file G4TwistTrapFlatSide.cc.
References FatalException, G4VTwistSurface::fAxis, G4endl, G4Exception(), G4VTwistSurface::GetCorner(), kXAxis, kYAxis, G4VTwistSurface::sAxis0, G4VTwistSurface::sAxis1, G4VTwistSurface::sAxisMax, G4VTwistSurface::sAxisMin, G4VTwistSurface::sAxisX, G4VTwistSurface::sAxisY, G4VTwistSurface::sC0Max1Max, G4VTwistSurface::sC0Max1Min, G4VTwistSurface::sC0Min1Max, G4VTwistSurface::sC0Min1Min, and G4VTwistSurface::SetBoundary().
Referenced by G4TwistTrapFlatSide().
|
privatevirtual |
Implements G4VTwistSurface.
Definition at line 395 of file G4TwistTrapFlatSide.cc.
References FatalException, G4VTwistSurface::fAxis, fDx1, fDx2, fDy, fTAlph, G4endl, G4Exception(), kXAxis, kYAxis, G4VTwistSurface::sC0Max1Max, G4VTwistSurface::sC0Max1Min, G4VTwistSurface::sC0Min1Max, G4VTwistSurface::sC0Min1Min, G4VTwistSurface::SetCorner(), x, and z.
Referenced by G4TwistTrapFlatSide().
|
inlinevirtual |
Implements G4VTwistSurface.
Definition at line 135 of file G4TwistTrapFlatSide.hh.
References G4VTwistSurface::fRot, and G4VTwistSurface::fTrans.
Referenced by GetFacets().
Definition at line 129 of file G4TwistTrapFlatSide.hh.
References fDx1, fDx2, and fDy.
Referenced by GetAreaCode(), GetBoundaryMax(), and GetBoundaryMin().
|
private |
Definition at line 116 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide().
|
private |
Definition at line 120 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide().
|
private |
Definition at line 121 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide().
|
private |
Definition at line 111 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide(), GetSurfaceArea(), SetCorners(), and xAxisMax().
|
private |
Definition at line 112 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide(), GetSurfaceArea(), SetCorners(), and xAxisMax().
|
private |
Definition at line 113 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide(), GetFacets(), GetSurfaceArea(), SetCorners(), and xAxisMax().
|
private |
Definition at line 114 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide().
|
private |
Definition at line 118 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide().
|
private |
Definition at line 115 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide().
|
private |
Definition at line 117 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide(), GetAreaCode(), GetBoundaryMax(), GetBoundaryMin(), and SetCorners().
|
private |
Definition at line 119 of file G4TwistTrapFlatSide.hh.
Referenced by G4TwistTrapFlatSide().