Problem 1890 - G4Polycone has problem to compute Inside() method
Summary: G4Polycone has problem to compute Inside() method
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/solids (show other problems)
Version: 10.2
Hardware: All All
: P4 critical
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2016-09-20 19:06 CEST by Vladimir.Ivantchenko
Modified: 2016-09-20 19:38 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Vladimir.Ivantchenko 2016-09-20 19:06:24 CEST
Dear geometry group,

there is a problem to compute Inside() method for the G4Polycone. The point is obviously outside but the code returns kInside flag.

G4Polycon parameters:

    *** Dump for solid - OCMS ***
    ===================================================
 Solid type: G4Polycone
 Parameters: 
    starting phi angle : 0 degrees 
    ending phi angle   : 360 degrees 
    number of Z planes: 6
              Z values: 
              Z plane 0: -450000
              Z plane 1: -27000
              Z plane 2: -27000
              Z plane 3: 27000
              Z plane 4: 27000
              Z plane 5: 450000
              Tangent distances to inner surface (Rmin): 
              Z plane 0: 0
              Z plane 1: 0
              Z plane 2: 0
              Z plane 3: 0
              Z plane 4: 0
              Z plane 5: 0
              Tangent distances to outer surface (Rmax): 
              Z plane 0: 1000
              Z plane 1: 1000
              Z plane 2: 17500
              Z plane 3: 17500
              Z plane 4: 1000
              Z plane 5: 1000
    number of RZ points: 8
              RZ values (corners): 
                         0, 450000
                         0, -450000
                         1000, -450000
                         1000, -27000
                         17500, -27000
                         17500, 27000
                         1000, 27000
                         1000, 450000


a point (-5466.862459056,-604.15650464246,-179214.72781658) seems to be for sure outside.

best regards,
Vladimir