35#define INCLXX_IN_GEANT4_MODE 1
46#ifndef G4INCLINTERSECTION_HH
47#define G4INCLINTERSECTION_HH 1
79 return getTrajectoryIntersection(x0, p, r,
true);
82 return getTrajectoryIntersection(x0, p, r,
false);
85 return std::make_pair(
86 getTrajectoryIntersection(x0, p, r,
true),
87 getTrajectoryIntersection(x0, p, r,
false)
static Intersection getLaterTrajectoryIntersection(const ThreeVector &x0, const ThreeVector &p, const G4double r)
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 std::pair< Intersection, Intersection > getTrajectoryIntersections(const ThreeVector &x0, const ThreeVector &p, const G4double r)
Intersection-point structure.
Intersection(const G4bool e, const G4double t, const ThreeVector &p)