#include <G4INCLIntersection.hh>
Definition at line 64 of file G4INCLIntersection.hh.
Compute the first intersection of a straight particle trajectory with a sphere.
- Parameters
-
x0 | the starting position of the trajectory |
p | the trajectory direction |
r | the 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.
The documentation for this class was generated from the following files: