Problem 198 - G4Tubs::Inside(p) fails with pSPhi=0 deg.
Summary: G4Tubs::Inside(p) fails with pSPhi=0 deg.
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/solids (show other problems)
Version: other
Hardware: PC Linux
: P2 normal
Assignee: Vladimir.Grichine
URL:
Depends on:
Blocks:
 
Reported: 2001-01-17 08:57 CET by V.Hejny
Modified: 2001-01-18 09:44 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.