| Summary: | G4Polyhedra gives Exceptions for legal parameters | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Ivana.Hrivnacova |
| Component: | geometry | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 0.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Ivana.Hrivnacova
1999-10-26 08:19:06 CEST
Problem reported to author. Problem is fixed in tag geometry-V00-01-02. Fixes will be included in release Geant4 1.0. ----------------- Original messages by D.Williams (davidw@scipp.ucsc.edu): Wed, 10 Nov 1999 ---------------- The problem with G4Polyhedra is that, using the G3 style constructor, it requires the z planes in such simple polyhedras to be in accending order. This funny quirk actually has a reason: it is possible to use z values that are not strickly monotonically increasing in order to define more complex solids. In this case it seems a bit of a liability, though. I'll put together a reasonable fix and submit it to the repository as fast as I can test it. Wed, 10 Nov 1999 ---------------- I've submitted the following to the G4 repository: CSG/include/G4ReduciblePolygon.hh rev 1.4 CSG/src/G4ReduciblePolygon.cc rev 1.4 CSG/src/G4Polyhedra.cc rev 1.8 CSG/src/G4Polycone.cc rev 1.6 These should fix the bug reported. New code is only invoked at the point were there used to be an exception. I therefore don't expect this change to have much of an impact on already working code. |