Geant4 11.2.2
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

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 361 of file G4VTwistSurface.hh.

362{
363 return ( ( a.xx - b.xx ).mag() < 1E-9*CLHEP::mm ) ;
364}
G4ThreeVector xx

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