Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4Line.icc,v 1.9 2006/06/29 18:39:46 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: G4Line.icc,v 1.10 2008/03/13 14:18:57 gcosmo Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
// --------------------------------------------------------------------
// GEANT 4 inline definitions file
@@ -165,11 +165,13 @@ G4int G4Line::IntersectRay2D(const G4Ray& ray)
// test the validity of the results
if(t>=0 && u>=0 && u<=1)
{
// test if the point is on the line
if( t==0 || u==0 )
return 999;
else
nbinter = 1;
nbinter = 1;
}
}
return nbinter;