Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VTwistSurface.hh File Reference
#include <CLHEP/Units/SystemOfUnits.h>
#include "G4VSolid.hh"
#include "geomdefs.hh"
#include "G4RotationMatrix.hh"
#include "G4VTwistSurface.icc"

Go to the source code of this file.

Classes

class  G4VTwistSurface
 
class  G4VTwistSurface::CurrentStatus
 
class  G4VTwistSurface::Boundary
 
class  G4VTwistSurface::G4SurfCurNormal
 
struct  Intersection
 

Macros

#define G4VSURFACENXX   10
 

Functions

G4bool DistanceSort (const Intersection &a, const Intersection &b)
 
G4bool EqualIntersection (const Intersection &a, const Intersection &b)
 

Macro Definition Documentation

◆ G4VSURFACENXX

#define G4VSURFACENXX   10

Definition at line 46 of file G4VTwistSurface.hh.

Function Documentation

◆ DistanceSort()

G4bool DistanceSort ( const Intersection a,
const Intersection b 
)
inline

◆ EqualIntersection()

G4bool EqualIntersection ( const Intersection a,
const Intersection b 
)
inline

Definition at line 367 of file G4VTwistSurface.hh.

368{
369 return ( ( a.xx - b.xx ).mag() < 1E-9*CLHEP::mm ) ;
370}
G4ThreeVector xx

Referenced by G4TwistBoxSide::DistanceToSurface(), G4TwistTrapAlphaSide::DistanceToSurface(), and G4TwistTrapParallelSide::DistanceToSurface().