#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. | |
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) |
Definition at line 64 of file G4INCLIntersection.hh.
static Intersection G4INCL::IntersectionFactory::getEarlierTrajectoryIntersection | ( | const ThreeVector & | x0, | |
const ThreeVector & | p, | |||
const G4double | r | |||
) | [inline, static] |
Compute the first intersection of a straight particle trajectory with a sphere.
x0 | the starting position of the trajectory | |
p | the trajectory direction | |
r | the radius of the sphere (centred in the origin) |
Definition at line 76 of file G4INCLIntersection.hh.
Referenced by G4INCL::CoulombNone::bringToSurface().
static Intersection G4INCL::IntersectionFactory::getLaterTrajectoryIntersection | ( | const ThreeVector & | x0, | |
const ThreeVector & | p, | |||
const G4double | r | |||
) | [inline, static] |
Definition at line 79 of file G4INCLIntersection.hh.
Referenced by G4INCL::StandardPropagationModel::getReflectionTime().
static std::pair<Intersection,Intersection> G4INCL::IntersectionFactory::getTrajectoryIntersections | ( | const ThreeVector & | x0, | |
const ThreeVector & | p, | |||
const G4double | r | |||
) | [inline, static] |
Definition at line 82 of file G4INCLIntersection.hh.
00082 { 00083 return std::make_pair( 00084 getTrajectoryIntersection(x0, p, r, true), 00085 getTrajectoryIntersection(x0, p, r, false) 00086 ); 00087 }