Geant4  10.03
G4INCLIntersection.hh File Reference

Simple class for computing intersections between a straight line and a sphere. More...

#include "globals.hh"
#include "G4INCLThreeVector.hh"
#include <utility>
+ Include dependency graph for G4INCLIntersection.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  G4INCL::Intersection
 Intersection-point structure. More...
 

Namespaces

 G4INCL
 
 G4INCL::IntersectionFactory
 

Macros

#define INCLXX_IN_GEANT4_MODE   1
 
#define G4INCLINTERSECTION_HH   1
 

Functions

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

Detailed Description

Simple class for computing intersections between a straight line and a sphere.

Date
12 December 2011
Author
Davide Mancusi

Definition in file G4INCLIntersection.hh.

Macro Definition Documentation

#define G4INCLINTERSECTION_HH   1

Definition at line 46 of file G4INCLIntersection.hh.

#define INCLXX_IN_GEANT4_MODE   1

Definition at line 34 of file G4INCLIntersection.hh.