Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
G4INCL::IntersectionFactory Class Reference

#include <G4INCLIntersection.hh>

Static Public Member Functions

static Intersection getEarlierTrajectoryIntersection (const ThreeVector &x0, const ThreeVector &p, const G4double r)
 Compute the first intersection of a straight particle trajectory with a sphere. More...
 
static Intersection getLaterTrajectoryIntersection (const ThreeVector &x0, const ThreeVector &p, const G4double r)
 
static std::pair< Intersection,
Intersection
getTrajectoryIntersections (const ThreeVector &x0, const ThreeVector &p, const G4double r)
 

Detailed Description

Definition at line 64 of file G4INCLIntersection.hh.

Member Function Documentation

static Intersection G4INCL::IntersectionFactory::getEarlierTrajectoryIntersection ( const ThreeVector x0,
const ThreeVector p,
const G4double  r 
)
inlinestatic

Compute the first intersection of a straight particle trajectory with a sphere.

Parameters
x0the starting position of the trajectory
pthe trajectory direction
rthe radius of the sphere (centred in the origin)
Returns
an Intersection. The G4bool is true if an intersection exists, in which case its position is stored in the ThreeVector and its time in the G4double.

Definition at line 76 of file G4INCLIntersection.hh.

Here is the caller graph for this function:

static Intersection G4INCL::IntersectionFactory::getLaterTrajectoryIntersection ( const ThreeVector x0,
const ThreeVector p,
const G4double  r 
)
inlinestatic

Definition at line 79 of file G4INCLIntersection.hh.

Here is the caller graph for this function:

static std::pair<Intersection,Intersection> G4INCL::IntersectionFactory::getTrajectoryIntersections ( const ThreeVector x0,
const ThreeVector p,
const G4double  r 
)
inlinestatic

Definition at line 82 of file G4INCLIntersection.hh.


The documentation for this class was generated from the following files: