Problem 198

Summary: G4Tubs::Inside(p) fails with pSPhi=0 deg.
Product: Geant4 Reporter: V.Hejny
Component: geometry/solidsAssignee: Vladimir.Grichine
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: other   
Hardware: PC   
OS: Linux   

Description V.Hejny 2001-01-17 08:57:15 CET
Using pSPhi = 0 deg. a point with y=-10^-16mm should be within the tolerance.
In the routine Inside() pPhi is calculated and negative (y<0). 2pi are added
and therefore 0 deg. is by far outside the tolerance. The same might happen
with a end value of 360 deg.
Comment 1 Vladimir.Grichine 2001-01-18 07:49:59 CET
condition for pPhi<0 was changed to pPhi<-0.5*kAngleTolerance
Comment 2 Gabriele Cosmo 2001-01-18 09:44:59 CET
Development tag "geom-solids-csg-V03-00-00" is now submitted to test.
Thanks.