| Summary: | Infinite loop in GetPointOnSurface for G4MultiUnion | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Stuart Derek Walker <stuartwalker1992> |
| Component: | geometry/solids | Assignee: | Evgueni.Tcherniaev |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | Alberto.Ribon, laurie.nevay, stuartwalker1992 |
| Priority: | P4 | ||
| Version: | 10.6 | ||
| Hardware: | Apple | ||
| OS: | Mac OS X | ||
| Attachments: | tarball containing the two GDML files to demonstrate the bug described | ||
|
Description
Stuart Derek Walker
2020-12-14 18:06:05 CET
The problem was caused by incorrect calculation of bounding box position in G4Voxelizer::BuildVoxelLimits(), namely the following line: fBoxes[i].pos = transl.getTranslation(); Correct expression is: fBoxes[i].pos = (max + min) / 2.; |