Geant4 Cross Reference |
1 # Category geom-specific History << 1 $Id: History 81689 2014-06-04 15:09:00Z gcosmo $ >> 2 ------------------------------------------------------------------- 2 3 3 See `CONTRIBUTING.rst` for details of **requir << 4 ========================================================= 4 which **must** added in reverse chronological << 5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP 5 It must **not** be used as a substitute for wr << 6 ========================================================= 6 << 7 7 ---------------------------------------------- << 8 Sub-Category History file 8 << 9 ------------------------- 9 ## 2024-10-01 Evgueni Tcherniaev (geom-specifi << 10 This file should be used by G4 developers and category coordinators 10 - G4GenericTrap: Fixed minor defect reported b << 11 to briefly summarize all major modifications introduced in the code 11 << 12 and keep track of all directory-tags. 12 ## 2024-07-18 Alvaro Tolosa-Delgado (geom-spec << 13 It DOES NOT substitute the CVS log-message one should put at every 13 - Remove internal state of G4TwistedTubs and G << 14 committal in the CVS repository ! 14 << 15 15 ## 2024-07-10 Evgueni Tcherniaev (geom-specifi << 16 ---------------------------------------------------------- 16 - G4ExtrudedSolid: Fixed defects reported by C << 17 * Reverse chronological order (last date on top), please * 17 << 18 ---------------------------------------------------------- 18 ## 2024-07-08 Gabriele Cosmo (geom-specific-V1 << 19 - Fixed reported Coverity defect; in G4Voxeliz << 20 plain vector copy in methods BuildReduceVoxe << 21 BuildBoundaries() and CreateMiniVoxels(..). << 22 << 23 ## 2024-05-29 Evgueni Tcherniaev (geom-specifi << 24 - Added new methods GetNumOfConstituents() and << 25 << 26 ## 2024-05-27 Evgueni Tcherniaev (geom-specifi << 27 - Completely revised G4GeneriTrap, it addresse << 28 << 29 ## 2024-05-26 Evgueni Tcherniaev (geom-specifi << 30 - New testG4GenericTrap.cc << 31 << 32 ## 2024-04-02 Gabriele Cosmo (geom-specific-V1 << 33 - Applied trivial clang-tidy fixes to classes, << 34 'default' keywords. << 35 << 36 ## 2024-02-01 Gabriele Cosmo (geom-specific-V1 << 37 - Use std::size_t for array sizes in G4Polyhed << 38 << 39 ## 2023-07-10 Evgueni Tcherniaev (geom-specifi << 40 - Fixed bounding box calculation in G4VTwisted << 41 << 42 ## 2023-06-16 Stephan Hageboeck (geom-specific << 43 - Fix an uninitialised value in G4VCSGfaceted: << 44 << 45 ## 2023-06-12 Gabriele Cosmo (geom-specific-V1 << 46 - Use const iterator in G4Voxelizer::GetPointV << 47 - Fixed use of index in G4Tet::GetPointOnSurfa << 48 << 49 ## 2023-05-10 Gabriele Cosmo (geom-specific-V1 << 50 - Applied clang-tidy fixes (readability, moder << 51 << 52 ## 2023-03-20 Gabriele Cosmo (geom-specific-V1 << 53 - Fixed more potential uninitialised values in << 54 G4SolidExtentList and G4VTwistSurface. << 55 << 56 ## 2023-03-13 Gabriele Cosmo (geom-specific-V1 << 57 - Fixed potential uninitialised value for boun << 58 G4VTwistSurface::GetBoundaryAtPZ(). << 59 << 60 ## 2023-01-02 Evgueni Tcherniaev (geom-specifi << 61 - G4QuadrangularFacet: Fixed warning message << 62 << 63 ## 2022-11-10 Gabriele Cosmo (geom-specific-V1 << 64 - Fixed compilation warnings for implicit type << 65 << 66 ## 2022-10-05 Gabriele Cosmo (geom-specific-V1 << 67 - Fixed compilation warnings in Intel/icx comp << 68 but never used. << 69 << 70 ## 2022-04-03 Evgueni Tcherniaev (geom-specifi << 71 - G4GenericTrap.cc, G4UGenericTrap.cc, G4UExtr << 72 G4TessellatedSolid.cc, G4TessellatedSolid.cc << 73 revision of CreatePolyhedron() << 74 << 75 ## 2022-02-04 Evgueni Tcherniaev (geom-specifi << 76 - G4VTwistedFaceted: used numerical evaluation << 77 integral to calculate lateral face surface a << 78 << 79 ## 2022-02-01 Evgueni Tcherniaev (geom-specifi << 80 - G4ExtrudedSolid, G4UExtrudedSolid: added def << 81 parameters in the constructor with two z-sec << 82 - G4ExtrudedSolid::ZSection, G4UExtrudedSolid: << 83 added default constructor << 84 << 85 ## 2022-01-26 Evgueni Tcherniaev (geom-specifi << 86 - G4GenericTrap::GetCubicVolume(): calculation << 87 using analytical expression; removed private << 88 GetFaceCubicVolume(); << 89 - G4GenericTrap::GetSurfaceArea(): improved ca << 90 of the area of lateral faces; private functi << 91 GetFaceSurfaceArea(), GetTwistedFaceSurfaceA << 92 replaced with private function GetLateralFac << 93 << 94 ## 2022-01-21 Evgueni Tcherniaev (geom-specifi << 95 - G4Ellipsoid::LateralSurfaceArea(): Enhanced << 96 the lateral surface area << 97 << 98 ## 2022-01-11 Evgueni Tcherniaev (geom-specifi << 99 - G4VTwistedFaceted: fCubicVolume, fSurfaceAre << 100 GetCubicVolume(), GetSurfaceArea() moved to << 101 - G4VTwistedFaceted, G4TwistedBox, G4TwistedTr << 102 calculation of volume and surface area << 103 << 104 ## 2022-01-06 Evgueni Tcherniaev (geom-specifi << 105 - G4TwistedTubs: Implemented GetSurfaceArea() << 106 analytical expressions; added private functi << 107 GetLateralArea() and GetPhiCutArea() << 108 << 109 ## 2021-12-19 Evgueni Tcherniaev (geom-specifi << 110 - G4Hype: Used analytical expression in GetCub << 111 and GetSurfaceArea() << 112 << 113 ## 2021-12-10 Ben Morgan (geom-specific-V11-00 << 114 - Change to new Markdown History format << 115 << 116 --- << 117 << 118 # History entries prior to 11.0 << 119 << 120 03-December-2021 E.Tcherniaev (geom-speci << 121 - G4TwistedTubs: Accurate calculation of the b << 122 BoundingLimits() and GetExtent(), fixing mea << 123 penalty. Addressing problem report #2450. << 124 - G4TwistedTubs, G4VTwistedFaceted: Fixed GetC << 125 << 126 15-October-2021 E.Tcherniaev (geom-speci << 127 - G4Tet, G4UTet: Added SetBoundingLimits() << 128 << 129 06-October-2021 E.Tcherniaev (geom-speci << 130 - G4Tet: some changes in calculation of boundi << 131 - G4UTet: added CheckDegeneracy() and SetVerti << 132 << 133 27-September-2021 E.Tcherniaev (geom-speci << 134 - Added degeneracyFlag to the list of paramete << 135 it addresses first part of the problem repor << 136 << 137 24-September-2021 E.Tcherniaev (geom-speci << 138 - Implemented G4TesselatedSolid::GetFacetIndex << 139 << 140 10-September-2021 E.Tcherniaev (geom-speci << 141 - Implemented G4TesselatedSolid::CheckStructur << 142 - Optimisation in G4TessellatedSolid::SetExtre << 143 shuffle of vertices and checking of six extr << 144 << 145 21-July-2021 E.Tcherniaev (geom-speci << 146 - More accurate calculation of distance from p << 147 in G4TriangularFacet, it addresses problem r << 148 << 149 25-June-2021 G.Cosmo (geom-speci << 150 - Added missing accessor in G4UTet. << 151 << 152 12-May-2021 E.Tcherniaev (geom-speci << 153 - Reimplemented CreatePolyhedron() in << 154 G4Polyhedra, G4Polycone, G4GenericPolycone, << 155 G4UPolyhedra, G4UPolycone, G4UGenericPolycon << 156 << 157 30-April-2021 G.Cosmo (geom-speci << 158 - Fixed use of conversion factor in G4UPolyhed << 159 polyhedra constructs. << 160 << 161 19-April-2021 E.Tcherniaev (geom-speci << 162 - G4Polyhedra, G4Polycone: Fix calculation of << 163 of negative phiStart, it addresses also prob << 164 << 165 30-March-2021 B.Morgan (geom-speci << 166 - Migrate sources.cmake to modular build API << 167 << 168 18-March-2021 E.Tcherniaev (geom-speci << 169 - Fix calculation of bounding box position in << 170 it addresses problem report #2301 << 171 << 172 13-January-2021 G.Cosmo (geom-speci << 173 - Reduce cases of bad speculation in G4Polyhed << 174 G4PolyPhiFace::InsideEdges(), based on repor << 175 by G.Amadio. << 176 << 177 30-October-2020 E.Tcherniaev (geom-speci << 178 - G4Polycone: Revised GetPointOnSurface(); << 179 Added protected auxiliary method SetSurfaceE << 180 Removed GetPointOnCone(), GetPointOnTubs(), << 181 - G4GenericPolycone: Revised GetPointOnSurface << 182 Added protected auxiliary method SetSurfaceE << 183 - G4Polyhedra: Revised GetPointOnSurface(); << 184 Added protected auxiliary method SetSurfaceE << 185 Removed GetPointOnPlane(), GetPointOnTriangl << 186 << 187 01-October-2020 E.Tcherniaev (geom-speci << 188 - G4Polycone, G4GenericPolycone, G4Polyhedra: << 189 implemented GetSurfaceArea(), GetCubicVolume << 190 << 191 May 21, 2020 Guilherme Lima (geom-speci << 192 ---------------------------- << 193 - Fix constructor signatures in G4UExtrudedSol << 194 There were missing const and reference quali << 195 << 196 30-April-2020 G.Cosmo (geom-speci << 197 - Adopt new convention for location of headers << 198 << 199 09-April-2020 E.Tcherniaev (geom-speci << 200 - Added G4GenericTrap::GetTwistedFaceSurfaceAr << 201 - testG4GenericTrap.cc: fixed test for calcula << 202 - testG4ExtrudedSolid.cc: fixed assert stateme << 203 point flys along the surface (DistanceToIn() << 204 << 205 17-January-2020 E.Tcherniaev (geom-speci << 206 - Implemented G4Tet::SetVertices(), it address << 207 at Geant4 Technical Forum. << 208 << 209 14-January-2020 Gabriele Cosmo (geom-speci << 210 - Added protection in G4VFacet header for doub << 211 symbols from Windows Kits code. << 212 << 213 08-January-2020 E.Tcherniaev (geom-speci << 214 - Complete revision of G4Tet, speed up, new te << 215 It also fixes issues spotted by new unit tes << 216 << 217 16-December-2019 E.Tcherniaev (geom-speci << 218 - Complete revision of G4Ellipsoid, it fixes i << 219 implementation, in particular it addresses p << 220 30%-70% speed-up in all main methods. << 221 << 222 11-December-2019 B.Morgan (geom-speci << 223 - Cleanup CMake build, removing obsolete granu << 224 explicit include_directories. << 225 << 226 10-December-2019 G.Cosmo (geom-speci << 227 - Re-established parameterisation mechanism fo << 228 removed by mistake. Addressing problem repor << 229 << 230 26-November-2019 G.Cosmo (geom-speci << 231 - Fixed cases of implicit type conversions fro << 232 << 233 05-November-2019 E.Tcherniaev (geom-speci << 234 - G4TesselatedSolid.cc: fixed minor Coverity d << 235 << 236 07-October-2019 E.Tcherniaev (geom-speci << 237 - G4TesselatedSolid.cc: fixed minor Coverity d << 238 << 239 16-September-2019 G.Cosmo (geom-speci << 240 - Rationalise header inclusions for faceted so << 241 << 242 06-September-2019 G.Cosmo (geom-speci << 243 - Removed unnecessary forward declaration in G << 244 << 245 29-August-2019 G.Cosmo (geom-speci << 246 - Minor c++11 revision and headers cleanup. Co << 247 - Use pre-increment wherever possible. << 248 << 249 19-August-2019 G.Lima (geom-speci << 250 - G4ExtrudedSolid: fixed a bug in DistanceToOu << 251 defined off-center along the z-axis. << 252 << 253 19-August-2019 G.Cosmo (geom-speci << 254 - G4GenericTrap: fixed compilation warnings fo << 255 << 256 13-August-2019 G.Cosmo (geom-speci << 257 - Enabled wrappers for VecGeom implementation << 258 G4EllipticalCone and G4Ellipsoid. << 259 << 260 10-July-2019 E.Tcherniaev (geom-speci << 261 - Fixed G4UExtrudedSolid::CreatePolyhedron(). << 262 Addressing visualization part of the problem << 263 << 264 04-July-2019 G.Cosmo (geom-speci << 265 - Avoid defining kCarTolerance as 'static cons << 266 Addressing problem report #2172. << 267 << 268 11-June-2019 E.Tcherniaev (geom-speci << 269 - Use GetVertices() instead of GetParametersLi << 270 << 271 29-May-2019 G.Cosmo (geom-speci << 272 - Fixed minor Coverity defects. << 273 << 274 20-May-2019 G.Cosmo (geom-speci << 275 - Defined move constructor and move assignment << 276 << 277 14-May-2019 B.Morgan (geom-speci << 278 - Add inclusion of new G4GeomTypes.hh header t << 279 VecGeom replacement. << 280 - See also geommng-10-05-05 << 281 << 282 23-April-2019 G.Cosmo (geom-speci << 283 - Modified G4PolyconeSide and G4PolyhedraSide << 284 MT splitted data in G4PlSideData and G4PhSid << 285 << 286 16-April-2019 G.Cosmo (geom-speci << 287 - Protected check in G4TwistTubsSide::Distance << 288 << 289 4-April-2019 G.Cosmo (geom-speci << 290 - Enabled wrapper for VecGeom implementation o << 291 << 292 15-February-2019 E.Tcherniaev (geom-speci << 293 - Accurate calculation of radical in G4Interse << 294 It addresses the problem report #2111. << 295 << 296 4-February-2019 G.Cosmo (geom-speci << 297 - Fix in G4EllipticalTube::CheckParameters() f << 298 << 299 30-January-2019 G.Cosmo (geom-speci << 300 - Disabled precise computation of extent and u << 301 in CalculateExtent() for G4Tet and G4Tessell << 302 intialisation in setups with relatively comp << 303 - Apply bounding-box calculation for extent al << 304 VecGeom wrappers. << 305 << 306 24-January-2019 E.Tcherniaev (geom-speci << 307 - Completely revised, more robust and performa << 308 new exhaustive test/testEllipticalTube.cc ba << 309 << 310 20-September-2018 G.Cosmo (geom-speci << 311 - Make G4UPolycone wrapper inheriting from vec << 312 following the latest changes in VecGeom. << 313 << 314 13-September-2018 G.Cosmo (geom-speci << 315 - G4UTessellatedSolid, G4UExtrudedSolid: remov << 316 UVector3 and replaced with U3Vector. << 317 << 318 23-August-2018 G.Cosmo (geom-speci << 319 - Enabled VecGeom wrapper for G4Tet. << 320 << 321 10-August-2018 A.Gheata (geom-speci << 322 - Make G4UHype wrapper inheriting from vecgeom << 323 following the latest changes in VecGeom. << 324 << 325 12-July-2018 G.Cosmo (geom-speci << 326 - Removed G4SolidsWorkspacePool class. Adapted << 327 use templated class G4TWorkspacePool. << 328 - Coworks with tags in geometry/volumes, run a << 329 << 330 25-Jun-2018 G.Cosmo (geom-speci << 331 - Use dynamic_cast to attempt fix for spurious << 332 CentOS7/gcc-5.3 on G4UTessellatedSolid wrapp << 333 << 334 17-May-2018 J.Madsen (geom-speci << 335 - Updated "thread-local-static-var" model to << 336 "function-returning-thread-local-static-refe << 337 which fixes Windows DLL + MT << 338 << 339 11-April-2018 G.Cosmo (geom-speci << 340 - Replaced USOLIDS_LIBRARIES with VECGEOM_LIBR << 341 << 342 13-February-2018 E.Tcherniaev (geom-speci << 343 - Corrected conversion of input parameters to << 344 caching for adoption in GDML persistency) in << 345 wrappers. << 346 << 347 9-February-2018 G.Cosmo (geom-speci << 348 - Caching facets and vertices in G4UTessellate << 349 treating indexing in facets. << 350 << 351 31-January-2018 G.Cosmo (geom-speci << 352 - Corrected use of facets indeces in G4UTessel << 353 - Minor cleanup in G4TessellatedSolid::CreateP << 354 changes. << 355 << 356 15-January-2018 G.Cosmo (geom-speci << 357 - Added validity checks in G4UTessellatedSolid << 358 << 359 11-January-2018 G.Cosmo (geom-speci << 360 - Added and enabled VecGeom wrapper for G4Tess << 361 Requires tags cmake-V10-04-01 and config-V10 << 362 << 363 20-December-2017 G.Cosmo (geom-speci << 364 - Enabled VecGeom wrappers for G4ExtrudedSolid << 365 << 366 13-December-2017 E.Tcherniaev (geom-speci << 367 - Removed redundant data initialistion in G4Ex << 368 << 369 11-December-2017 E.Tcherniaev (geom-speci << 370 - Added missing initialisation of two data-mem << 371 assignment operator of G4ExtrudedSolid. Addr << 372 << 373 22-November-2017 G.Cosmo (geom-specif << 374 - Fix in SurfaceNormal() for G4ExtrudedSolid t << 375 counting of the surfaces where the point is << 376 << 377 2-November-2017 G.Cosmo (geom-specif << 378 - Fixed compilation warning introduced with la << 379 << 380 31-October-2017 E.Tcherniaev (geom-specif << 381 - Added specialised implementation for constru << 382 prism in G4ExtrudedSolid. << 383 << 384 20-October-2017 G.Cosmo (geom-specif << 385 - G4TessellatedSolid: print also solid's name << 386 << 387 17-October-2017 G.Cosmo (geom-specif << 388 - Added VecGeom wrapper G4UHype for G4Hype, no << 389 fixes in VecGeom. << 390 << 391 16-October-2017 G.Cosmo (geom-specif << 392 - Temporarly disabled wrappers for G4Tet and G << 393 their corresponding implementation in VecGeo << 394 << 395 28-September-2017 G.Cosmo (geom-specif << 396 - Corrected initialisation of polyhedra by ver << 397 following the changes in VecGeom. << 398 << 399 15-September-2017 G.Cosmo (geom-specif << 400 - G4SolidsWorkspacePool: use DLL export flag f << 401 symbol of the workspace. << 402 << 403 12-September-2017 G.Cosmo (geom-specif << 404 - G4Voxelizer: directly set components for bou << 405 recreating it in BuildBoundingBox(..). << 406 << 407 8-September-2017 E.Tcherniaev (geom-specif << 408 - Added specialised implementation for constru << 409 prism in G4ExtrudedSolid. << 410 << 411 4-September-2017 G.Cosmo (geom-specif << 412 - Temporarly disabled wrapper for extruded-sol << 413 of extruded-solid in VecGeom. << 414 << 415 16-August-2017 J.Allison (geom-specif << 416 - Twisted solids: Fixed bug in drawing polyhed << 417 Addressing problem report #1995. << 418 << 419 27-July-2017 E.Tcherniaev (geom-specif << 420 - G4EllipticalCone: corrected samping of rando << 421 function GetPointOnSurface(). << 422 << 423 24-July-2017 E.Tcherniaev (geom-specif << 424 - G4EllipticalCone: improved GetPointOnSurface << 425 points, using function G4RandomPointOnEllips << 426 << 427 20-July-2017 E.Tcherniaev (geom-specif << 428 - G4EllipticalCone: reviewed implementation of << 429 SurfaceNormal() and GetPointOnSurface(); mad << 430 Addressing problem report #1974. << 431 << 432 15-June-2017 G.Cosmo (geom-specif << 433 - Enabled adapter also in G4UPolycone wrapper. << 434 - Added check on open solid for G4UPolyhedra w << 435 << 436 6-June-2017 G.Cosmo (geom-specif << 437 - Enable adapter for VecGeom shapes in G4U* wr << 438 polyhedra and GenericTrap. From now on, wrap << 439 VecGeom shapes implementation. USolids API i << 440 supported. << 441 << 442 24-May-2017 G.Cosmo (geom-specif << 443 - Renamed ambiguous name Extent() in all solid << 444 BoundingLimits(). Change required in order t << 445 with VecGeom in G4U* wrappers. << 446 Requires tag geommng-V10-03-16. << 447 << 448 11-May-2017 G.Cosmo (geom-specif << 449 - Removed potential race condition in G4VTwist << 450 Addressing problem report #1972. << 451 << 452 7-April-2017 G.Cosmo (geom-specif << 453 - Renamed G4SurfaceVoxelizer to G4Voxelizer an << 454 voxelisation of shapes in 3D space. Adapted << 455 << 456 13-March-2017 G.Cosmo (geom-specif << 457 - G4SolidsWorkspacePool: implemented CleanUpAn << 458 to be called by worker threads. Removed decl << 459 of protected method ReleaseAndDestroyWorkspa << 460 << 461 2-March-2017 E.Tcherniaev (geom-specif << 462 - Fixed possible rounding off error in calcula << 463 for one step) in CalculateExtent() for G4Pol << 464 and related USolids wrappers. << 465 << 466 27-February-2017 E.Tcherniaev (geom-specif << 467 - Revised implementation of GetCubicVolume() a << 468 G4EllipticalTube, to return exact values. << 469 - Revised implementation of GetSurfaceArea() f << 470 return exact value; moved both GetCubicVolum << 471 be not inline. << 472 << 473 13-December-2016 G.Cosmo (geom-specif << 474 - Correction in G4UExtrudedSolid to signature << 475 Fixes issue of undefined symbol if extruded- << 476 list of VecGeom wrappers to activate. << 477 << 478 30-November-2016 E.Tcherniaev (geom-specif << 479 - Call RemoveRedundantVertices() from G4GeomTo << 480 for G4Polycone, G4Polyhedra and related USol << 481 - Fix in G4Parabolid and G4UParaboloid for cor << 482 << 483 18-November-2016 E.Tcherniaev (geom-specif << 484 - Added consistency checks for extent computat << 485 - Fix in cached parameters in G4UPolyhedra. << 486 << 487 10-November-2016 G.Cosmo (geom-specif << 488 - G4UPolyhedra re-introduced new implementatio << 489 G4BoundingEnvelope and extended wrapper to c << 490 Phi parameters, to overcome issues in VecGeo << 491 << 492 10-November-2016 E.Tcherniaev (geom-specif << 493 - Added caching of corners and implementation << 494 in order to assure correct translation. << 495 - Withdrawn changes in G4UPolyhedra introduced << 496 until understood proper conversion from VecG << 497 << 498 7-November-2016 E.Tcherniaev (geom-specifi << 499 - Correction in G4EllipticalCone::DistanceToOu << 500 - Added optional debug flag G4BBOX_EXTENT in G << 501 extent calculation by simply using bounding- << 502 << 503 3-November-2016 G.Cosmo (geom-specifi << 504 - Fix in G4PolyPhiFace for potential unitialis << 505 << 506 31-October-2016 E.Tcherniaev (geom-specifi << 507 - Re-implemented CalculateExtent() to make use << 508 removed no-longer used method CreateRotatedV << 509 G4EllipticalCone, G4Polycone, G4Paraboloid, << 510 G4GenericPolycone, G4TessellatedSolid, G4Twi << 511 wrappers. << 512 - Use G4RandFlat instead of RandFlat. << 513 << 514 21-October-2016 G.Cosmo (geom-specifi << 515 - Moved initialisation of G4GeomSplitter threa << 516 along with generic template type. << 517 Fixing compilation/linking errors on clang-3 << 518 << 519 19-October-2016 E.Tcherniaev (geom-speci << 520 - Reimplemented CalculateExtent() in G4Polycon << 521 and associated USolids wrappers, to make use << 522 << 523 5-October-2016 E.Tcherniaev (geom-speci << 524 - Reimplemented CalculateExtent() in G4Tet, G4 << 525 G4UGenericTrap, G4EllipticalTube and G4VTwis << 526 of G4BoundingEnvelope; removed no-longer use << 527 << 528 20-September-2016 G.Cosmo (geom-speci << 529 - Moved accessors/modifiers for splitter data << 530 G4PolyhedraSide and G4PolyconeSide. << 531 Explicitly initialise G4GeomSplitter data in << 532 translation unit. << 533 Fixing compilation/linking errors on clang-3 << 534 << 535 06-July-2016 E.Tcherniaev (geom-speci << 536 - Fixed monir typo in function Create() for G4 << 537 G4GenericPolycone. << 538 Fixed minor typos in G4GenericTrap::SurfaceN << 539 G4VTwistSurface::CurrentStatus::ResetfDone() << 540 Issues detected by PVS-Studio static code an << 541 Addressing problem report #1876. << 542 << 543 24-May-2016 G.Cosmo (geom-speci << 544 - Correction in G4UExtrudedSolid for definitio << 545 << 546 20-May-2016 G.Cosmo (geom-speci << 547 - Moved accessors and modifiers in USolids wra << 548 Required modification in order to allow corr << 549 types. << 550 << 551 15-Apr-2016 G.Cosmo (geom-speci << 552 - Added flag in USolids wrappers for partial u << 553 << 554 31-Mar-2016 G.Cosmo (geom-speci << 555 - Added overloaded CreatePolyhedron() method t << 556 It is now possible to visualize supported Ve << 557 - Added implementation of CreatePolyhedron() i << 558 << 559 10-Mar-2016 G.Cosmo (geom-speci << 560 - Added overloaded GetEntityType() method to U << 561 << 562 07-Mar-2016 E.Tcherniaev (geom-speci << 563 - Fix in G4IntersectingCone for smaller precis << 564 and LineHitsCone2(). Fixes issue observed in << 565 Addressing problem report #1794. << 566 << 567 03-Mar-2016 G.Cosmo (geom-speci << 568 - Fixed compilation warnings for potential uni << 569 G4ExtrudedSolid::CheckPolygon() function int << 570 << 571 03-Mar-2016 E.Tcherniaev (geom-speci << 572 - Added 'const' qualifier for methods in G4Ext << 573 Added CheckPolygon() to remove collinear and << 574 - G4QuadrangularFacet: added exhaustive tests << 575 problems with a quadrangular facet: collinea << 576 degenerate, concave or self intersecting qua << 577 - G4TriangularFacet: Improved test in construc << 578 small or too narrow) triangles. << 579 << 580 25-Feb-2016 E.Tcherniaev (geom-speci << 581 - Correction in G4ExtrudedSolid::AddGeneralPol << 582 treatment in construction of tessels to avoi << 583 and consequent degenerating triangles. << 584 Address problem report #1777. << 585 - Use pre-computed kCarToleranceHalf constant << 586 protected in G4TessellatedSolid. << 587 - Improved algorithms for computation of area << 588 G4QuadrangularFacet. Added post-const qualif << 589 << 590 16-Feb-2016 G.Cosmo (geom-speci << 591 - Revised implementation for GetSurfaceArea() << 592 G4GenericTrap (E.Tcherniaev). << 593 - Protected debug warning in G4GenericTrap::Su << 594 << 595 02-Feb-2016 E.Tcherniaev (geom-speci << 596 - Fix in G4GenericTrap for compuation of exten << 597 Addressing problem report #1809. << 598 - Use dot() in formula for computation of GetC << 599 G4TessellatedSolid. << 600 << 601 18-Nov-2015 G.Cosmo (geom-speci << 602 - Added specialised implementation for GetCubi << 603 G4TessellatedSolid (J.Allison). << 604 << 605 29-Oct-2015 G.Cosmo (geom-speci << 606 - Added debug printouts within G4SPECSDEBUG in << 607 DistanceToIn/Out(p,v) to identify potential << 608 << 609 26-Oct-2015 G.Cosmo (geom-speci << 610 - Removed redundant condition in G4Polyhedra a << 611 SetOriginalParameters() method. << 612 << 613 23-Oct-2015 G.Cosmo (geom-speci << 614 - G4PolyhedraSide: moved internal struct defin << 615 to overcome deficiencies in object-persisten << 616 << 617 07-Oct-2015 G.Cosmo (geom-speci << 618 - Protected compilation of USolid wrappers wit << 619 << 620 01-Sep-2015 G.Cosmo (geom-speci << 621 - Corrected conditional compilation flag in G4 << 622 << 623 31-Aug-2015 G.Cosmo (geom-speci << 624 - Added USolids/VecGeom wrapper for G4Parabolo << 625 Activated only for external USolids/VecGeom << 626 << 627 13-Aug-2015 G.Cosmo (geom-speci << 628 - Checked for potential never-ending loops. << 629 No issues found, only added annotations. << 630 << 631 05-Aug-2015 G.Cosmo (geom-speci << 632 - Minor code cleanup in G4SurfaceVoxelizer. << 633 << 634 03-Mar-2015 G.Cosmo (geom-speci << 635 - Use accessors x(), y() and z() from UVector3 << 636 its data-members. Co-work with tag "geom-uso << 637 << 638 23-Feb-2015 T.Nikitina (geom-speci << 639 - Fix in SetOriginalParameters() for G4Polycon << 640 of presence of 'rings' structures. Addressin << 641 << 642 26-Jan-2015 G.Cosmo (geom-speci << 643 - Renamed DistanceAwayForInside() to DistanceA << 644 << 645 26-Jan-2015 T.Nikitina (geom-speci << 646 - Added special method for Inside 'DistanceAwa << 647 precision problem of calculation of Distance << 648 << 649 21-Jan-2015 T.Nikitina (geom-speci << 650 - Fixed triangularisation method AddGeneralPOl << 651 G4ExtrudedSolid by avoiding flat triangles. << 652 - Added warning message to G4TriangularFacet c << 653 i.e., case of flat triangle. << 654 - Addressing problem report #1703. << 655 << 656 12-Dec-2014 G.Cosmo (geom-speci << 657 - Use canonical form for operator=() in G4Poly << 658 G4PolyhedraHistorical. << 659 << 660 17-Sep-2014 G.Cosmo (geom-speci << 661 - Added wrappers for UExtrudedSolid and UGener << 662 original G4 types accordingly. Requires tag << 663 << 664 01-Sep-2014 G.Cosmo (geom-speci << 665 - Fixed use of polyhedron pointer, to avoid ra << 666 when parameterised volumes are visualised. << 667 19 668 22-May-2014 G.Cosmo (geom-speci << 20 22-May-2014 G.Cosmo (geom-specific-V09-06-39) 669 - Added protection in generic constructor of G 21 - Added protection in generic constructor of G4Polyhedra for the case when 670 improper number of sides is given as input. 22 improper number of sides is given as input. 671 23 672 10-Apr-2014 G.Cosmo (geom-speci << 24 10-Apr-2014 G.Cosmo (geom-specific-V09-06-38) 673 - Get rid of deprecated 'register' storage cla 25 - Get rid of deprecated 'register' storage class specifier in source files. 674 26 675 31-Mar-2014 G.Cosmo (geom-speci << 27 31-Mar-2014 G.Cosmo 676 - Fixed signature of assignment operator to G4 28 - Fixed signature of assignment operator to G4VCSGfaceted. 677 29 678 31-Mar-2014 G.Cosmo (geom-speci << 30 31-Mar-2014 G.Cosmo 679 - Fixed signature of assignment operator to G4 31 - Fixed signature of assignment operator to G4Polycone, G4Polyhedra and 680 and G4GenericPolycone. 32 and G4GenericPolycone. 681 33 682 05-Mar-2014 G.Cosmo (geom-speci << 34 05-Mar-2014 G.Cosmo 683 - Fixed proper handling of polyhedron pointer 35 - Fixed proper handling of polyhedron pointer in solids, to avoid memory 684 leak for visualization of parameterised volu 36 leak for visualization of parameterised volumes. 685 37 686 12-Feb-2014 G.Cosmo (geom-speci << 38 12-Feb-2014 G.Cosmo (geom-specific-V09-06-37) 687 - Simply reset polyhedron pointer to zero for 39 - Simply reset polyhedron pointer to zero for modifiers of G4U* wrappers 688 in parameterisation. Resolves crash in MT vi << 40 in parameterisation. Resolves crash in MT visualization when using USolids. 689 41 690 12-Feb-2014 G.Cosmo (geom-speci << 42 12-Feb-2014 G.Cosmo 691 - Added correct cloning mechanism in G4U* wrap 43 - Added correct cloning mechanism in G4U* wrappers. 692 Addressing problem report #1553. 44 Addressing problem report #1553. 693 45 694 18-Dec-2013 T.Nikitina (geom-speci << 46 18-Dec-2013 T.Nikitina 695 - Fix in G4GenericTrap::InsidePolygone() to ch 47 - Fix in G4GenericTrap::InsidePolygone() to check if p lies between the two 696 extremes of the segment. Addressing problem 48 extremes of the segment. Addressing problem report #1541. 697 49 698 17-Dec-2013 G.Cosmo (geom-speci << 50 17-Dec-2013 G.Cosmo 699 - Corrected left-over debug printout in G4Poly 51 - Corrected left-over debug printout in G4Polycone::SetOriginalParameters(). 700 52 701 04-Dec-2013 G.Cosmo (geom-speci 53 04-Dec-2013 G.Cosmo (geom-specific-V09-06-36) 702 - Corrected left-over debug printout in G4Poly 54 - Corrected left-over debug printout in G4Polyhedra::SetOriginalParameters(). 703 55 704 22-Nov-2013 G.Cosmo (geom-speci 56 22-Nov-2013 G.Cosmo (geom-specific-V09-06-35) 705 - Correction to USolids wrappers for proper se 57 - Correction to USolids wrappers for proper setting of name to base class. 706 58 707 19-Nov-2013 J.Apostolakis (geom-speci 59 19-Nov-2013 J.Apostolakis (geom-specific-V09-06-34) 708 - Fix for issue identified by Coverity: fixed 60 - Fix for issue identified by Coverity: fixed implementation of 709 G4SolidsWorkspacePool singleton. 61 G4SolidsWorkspacePool singleton. 710 62 711 20-Nov-2013 T.Mikitina (geom-speci 63 20-Nov-2013 T.Mikitina (geom-specific-V09-06-33) 712 - Fixed Coverity defects to USolids wrappers. 64 - Fixed Coverity defects to USolids wrappers. 713 65 714 14-Nov-2013 G.Cosmo (geom-speci 66 14-Nov-2013 G.Cosmo (geom-specific-V09-06-32, 31) 715 - Enabled use of Reset() in G4UPolycone. 67 - Enabled use of Reset() in G4UPolycone. 716 - Corrections to G4UPolycone and G4UPolyhedra 68 - Corrections to G4UPolycone and G4UPolyhedra to allow for visualization 717 of parameterisations on these solids. 69 of parameterisations on these solids. 718 70 719 13-Nov-2013 G.Cosmo (geom-speci 71 13-Nov-2013 G.Cosmo (geom-specific-V09-06-30) 720 - Correction to G4UTet and G4UGenericPolycone 72 - Correction to G4UTet and G4UGenericPolycone to explicitly include 721 symbols re-definitions from G4Tet and G4Gene 73 symbols re-definitions from G4Tet and G4GenericPolycone respectively. 722 74 723 12-Nov-2013 G.Cosmo (geom-speci 75 12-Nov-2013 G.Cosmo (geom-specific-V09-06-29) 724 - Added dummy method G4UPolycone::Reset(). 76 - Added dummy method G4UPolycone::Reset(). 725 NOTE: Required related implementation (curre 77 NOTE: Required related implementation (currently missing!) in UPolycone. 726 78 727 12-Nov-2013 G.Cosmo (geom-speci 79 12-Nov-2013 G.Cosmo (geom-specific-V09-06-28) 728 - Correction to USolids switch mechanism for G 80 - Correction to USolids switch mechanism for G4Polycone. 729 << 81 730 08-Nov-2013 J.Apostolakis (geom-speci 82 08-Nov-2013 J.Apostolakis (geom-specific-V09-06-27) 731 - G4SolidsWorkspace: cleanup of verbosity. 83 - G4SolidsWorkspace: cleanup of verbosity. 732 Reduced verbosity by making it optional. << 84 Reduced verbosity by making it optional. 733 Added Set/Get Verbose methods to toggle and 85 Added Set/Get Verbose methods to toggle and view it. 734 Added parameter to constructor for verbosity 86 Added parameter to constructor for verbosity (default=off). 735 87 736 07-Nov-2013 G.Cosmo (geom-specific-V09-06-26) 88 07-Nov-2013 G.Cosmo (geom-specific-V09-06-26) 737 - Moved wrappers from usolids module. 89 - Moved wrappers from usolids module. 738 Fixed internal dispatcher method for paramet 90 Fixed internal dispatcher method for parameterisation in all wrappers. 739 - Added switching mechanism for G4GenericPolyc 91 - Added switching mechanism for G4GenericPolycone, G4Polycone, G4Polyhedra 740 and G4Tet. 92 and G4Tet. 741 93 742 06-Nov-2013 G.Cosmo (geom-specific-V09-06-25) 94 06-Nov-2013 G.Cosmo (geom-specific-V09-06-25) 743 - Added switch mechanism for USolids (G4Generi 95 - Added switch mechanism for USolids (G4GenericPolycone, G4Polycone, 744 G4Polyhedra, G4Tet). Renamed related G4 type 96 G4Polyhedra, G4Tet). Renamed related G4 types to 'G4O'. 745 - Moved wrappers from USolids module. 97 - Moved wrappers from USolids module. 746 98 747 01-Nov-2013 G.Cosmo (geom-specific-V09-06-24) 99 01-Nov-2013 G.Cosmo (geom-specific-V09-06-24) 748 - Corrected CMake script. 100 - Corrected CMake script. 749 101 750 31-Oct-2013 G.Cosmo (geom-specific-V09-06-23) 102 31-Oct-2013 G.Cosmo (geom-specific-V09-06-23) 751 - Fix for in G4Polyhedra::SetOriginalParameter 103 - Fix for in G4Polyhedra::SetOriginalParameters(). (T.Nikitina) 752 - Moved G4PolyconeHistorical and G4PolyhedraHi 104 - Moved G4PolyconeHistorical and G4PolyhedraHistorical in separate 753 translation units. 105 translation units. 754 106 755 29-Oct-2013 T.Nikitina (geom-specific-V09-06- 107 29-Oct-2013 T.Nikitina (geom-specific-V09-06-22) 756 - Split G4Polycone for polycones with decreasi 108 - Split G4Polycone for polycones with decreasing Z-sections. 757 Introduced new class G4GenericPolycone. 109 Introduced new class G4GenericPolycone. 758 - Fixed conversion of generic construct for G4 110 - Fixed conversion of generic construct for G4Polyhedra. 759 111 760 17-Oct-2013 J.Apostolakis/A.Dotti (geom-speci 112 17-Oct-2013 J.Apostolakis/A.Dotti (geom-specific-V09-06-21) 761 - Cleanup of code for workspace. 113 - Cleanup of code for workspace. 762 114 763 16-Oct-2013 J.Apostolakis/A.Dotti (geom-speci 115 16-Oct-2013 J.Apostolakis/A.Dotti (geom-specific-V09-06-20) 764 - Created G4SolidsWorkspacePool class, to mana 116 - Created G4SolidsWorkspacePool class, to manage Workspaces 765 Fixed Singleton G4SolidsWorkspacePool for th << 117 Fixed Singleton G4SolidsWorkspacePool for thread safe creation of object. 766 118 767 04-Oct-2013 J.Apostolakis (geom-specific-V09- 119 04-Oct-2013 J.Apostolakis (geom-specific-V09-06-19) 768 - Retagged. 120 - Retagged. 769 NOTE: requires tag "geommng-V09-06-12" and c 121 NOTE: requires tag "geommng-V09-06-12" and co-works with "geomvol-V09-06-13". 770 122 771 04-Oct-2013 J.Apostolakis (geom-specific-V09- 123 04-Oct-2013 J.Apostolakis (geom-specific-V09-06-18) 772 - Created G4SolidsWorkspace class, to create, 124 - Created G4SolidsWorkspace class, to create, initialize and destroy 773 per-thread state of PolyCone Sides and PolyH 125 per-thread state of PolyCone Sides and PolyHedra Sides. 774 126 775 27-Aug-2013 G.Cosmo (geom-specific-V09-06-17) 127 27-Aug-2013 G.Cosmo (geom-specific-V09-06-17) 776 - Enabled G4Ellipsoid for parameterisation. 128 - Enabled G4Ellipsoid for parameterisation. 777 129 778 14-Aug-2013 G.Cosmo (geom-specific-V09-06-16) 130 14-Aug-2013 G.Cosmo (geom-specific-V09-06-16) 779 - Move function-scoped 'static const' values f 131 - Move function-scoped 'static const' values for half-tolerances to private 780 data members of classes, to overcome false-p 132 data members of classes, to overcome false-positive race-conditions defects 781 reported by Valgrind in MT mode. 133 reported by Valgrind in MT mode. 782 - Fix in G4TessellatedSolid::DistanceToIn(p,v) 134 - Fix in G4TessellatedSolid::DistanceToIn(p,v) for specific cases where points 783 are located near surface (T.Nikitina). 135 are located near surface (T.Nikitina). 784 136 785 16-Jul-2013 M.Gayer (geom-specific-V09-06-15) 137 16-Jul-2013 M.Gayer (geom-specific-V09-06-15) 786 - Fix in G4SurfaceVoxelizer affecting tessella 138 - Fix in G4SurfaceVoxelizer affecting tessellated-solid (and extruded-solid) 787 for wrong computation of DistanceToIn(p,v) f 139 for wrong computation of DistanceToIn(p,v) for points outside, when 788 optimisation is active. 140 optimisation is active. 789 141 790 11-Jul-2013 G.Cosmo (geom-specific-V09-06-14) 142 11-Jul-2013 G.Cosmo (geom-specific-V09-06-14) 791 - Fixed compilation warning in G4Polycone on M 143 - Fixed compilation warning in G4Polycone on MacOS/clang. 792 144 793 09-Jul-2013 T.Nikitina (geom-specific-V09-06- 145 09-Jul-2013 T.Nikitina (geom-specific-V09-06-13) 794 - Extended method SetOriginalParameters() in G 146 - Extended method SetOriginalParameters() in G4Polycone in order to handle 795 all possible cases of conversion of generic 147 all possible cases of conversion of generic polycone to polycone with 796 (Rmin,Rmaz,Z) parameters. 148 (Rmin,Rmaz,Z) parameters. 797 Addressing problem report #1462. 149 Addressing problem report #1462. 798 150 799 03-Jun-2013 G.Cosmo (geom-specific-V09-06-12) 151 03-Jun-2013 G.Cosmo (geom-specific-V09-06-12) 800 - Fixed minor Coverity defect in G4PolyhedraSi 152 - Fixed minor Coverity defect in G4PolyhedraSide and G4PolyconeSide. 801 153 802 22-Apr-2013 J.Apostolakis (geom-specific-V09- 154 22-Apr-2013 J.Apostolakis (geom-specific-V09-06-11) 803 - Revised G4ExtrudedSolid::IsSameLine to use t 155 - Revised G4ExtrudedSolid::IsSameLine to use the perpendicular 804 distance to a line when deciding - not the y 156 distance to a line when deciding - not the y-intercept difference. 805 ( Issue responsible for a problem in Subtrac << 157 ( Issue responsible for a problem in Subtraction Solid in Atlas. 806 Tatiana & Ivana contributed to debugging. 158 Tatiana & Ivana contributed to debugging. ) 807 - Changed GNUmakefile in test directory to wor << 159 - Changed GNUmakefile in test directory to work with Cmake and granular 808 builds. 160 builds. 809 161 810 16-Apr-2013 T.Nikitina (geom-specific-V09-06- 162 16-Apr-2013 T.Nikitina (geom-specific-V09-06-10) 811 - Fix in calculation of normal in G4Tet::Dista 163 - Fix in calculation of normal in G4Tet::DistanceToOut(p,v,..) and 812 SurfaceNormal(p). 164 SurfaceNormal(p). 813 - Fix in G4Polycone::GetPointOnCone() for case 165 - Fix in G4Polycone::GetPointOnCone() for cases of shape with decreasing Z. 814 Fixes cases of false report for overlaps det 166 Fixes cases of false report for overlaps detection. Problem report #1462. 815 Added check with exception in constructor fo 167 Added check with exception in constructor for polycone with rInner > rOuter 816 for the same Z. 168 for the same Z. 817 169 818 18-Mar-2013 G.Cosmo (geom-specific-V09-06-09) 170 18-Mar-2013 G.Cosmo (geom-specific-V09-06-09) 819 - G4TessellatedSolid: fixed problem with navig 171 - G4TessellatedSolid: fixed problem with navigation in tessellated solids 820 with concave surfaces. Addresses problem rep 172 with concave surfaces. Addresses problem report #1456. 821 - More cleanup from MT changes in G4VTwistSurf 173 - More cleanup from MT changes in G4VTwistSurface and G4Tet. 822 174 823 12-Mar-2013 G.Cosmo (geom-specific-V09-06-08) 175 12-Mar-2013 G.Cosmo (geom-specific-V09-06-08) 824 - Added public accessors for MT data to G4Poly 176 - Added public accessors for MT data to G4PolyconeSide and G4PolyhedraSide. 825 177 826 11-Mar-2013 G.Cosmo (geom-specific-V09-06-07) 178 11-Mar-2013 G.Cosmo (geom-specific-V09-06-07) 827 - Redefined G4DLL_API to G4GEOM_DLL to avoid c 179 - Redefined G4DLL_API to G4GEOM_DLL to avoid cases of macro redefinition. 828 180 829 08-Mar-2013 G.Cosmo (geom-specific-V09-06-06) 181 08-Mar-2013 G.Cosmo (geom-specific-V09-06-06) 830 - Renamed G4MT macros to safer ID in G4Polycon 182 - Renamed G4MT macros to safer ID in G4PolyconeSide and G4PolyhedraSide. 831 183 832 07-Mar-2013 G.Cosmo (geom-specific-V09-06-05) 184 07-Mar-2013 G.Cosmo (geom-specific-V09-06-05) 833 - Adopt G4GeomSplitter instead of G4MTTransito 185 - Adopt G4GeomSplitter instead of G4MTTransitory in G4PolyconeSide and 834 G4PolyhedraSide. Fixed import/export of stat 186 G4PolyhedraSide. Fixed import/export of static symbols for WIN32 DLLs build. 835 187 836 22-Feb-2013 G.Cosmo (geom-specific-V09-06-04) 188 22-Feb-2013 G.Cosmo (geom-specific-V09-06-04) 837 - Cleanup changes for multi-threading in G4Tet 189 - Cleanup changes for multi-threading in G4Tet, G4VTwistSurface, 838 G4PolyconeSide and G4PolyhedraSide. 190 G4PolyconeSide and G4PolyhedraSide. 839 - Removed unused private data member in G4Twis 191 - Removed unused private data member in G4TwistTrapParallelSide. 840 192 841 07-Mar-2013 G.Cosmo (geom-specific-V09-06-05) 193 07-Mar-2013 G.Cosmo (geom-specific-V09-06-05) 842 - Adopt G4GeomSplitter instead of G4MTTransito 194 - Adopt G4GeomSplitter instead of G4MTTransitory in G4PolyconeSide and 843 G4PolyhedraSide. Fixed import/export of stat 195 G4PolyhedraSide. Fixed import/export of static symbols for WIN32 DLLs build. 844 196 845 22-Feb-2013 G.Cosmo (geom-specific-V09-06-04) 197 22-Feb-2013 G.Cosmo (geom-specific-V09-06-04) 846 - Cleanup changes for multi-threading in G4Tet 198 - Cleanup changes for multi-threading in G4Tet, G4VTwistSurface, 847 G4PolyconeSide and G4PolyhedraSide. 199 G4PolyconeSide and G4PolyhedraSide. 848 - Removed unused private data member in G4Twis 200 - Removed unused private data member in G4TwistTrapParallelSide. 849 201 850 11-Jan-2013 G.Cosmo (geom-specific-V09-06-03) 202 11-Jan-2013 G.Cosmo (geom-specific-V09-06-03) 851 - Fixed condition in G4VTwistSurface::GetBound 203 - Fixed condition in G4VTwistSurface::GetBoundaryLimit() for logical error. 852 Addressing problem report #1420. 204 Addressing problem report #1420. 853 205 854 20-Dec-2012 M.Gayer (geom-specific-V09-06-02) 206 20-Dec-2012 M.Gayer (geom-specific-V09-06-02) 855 - Fixed cases of hang-ups in G4ExtrudedSolid o 207 - Fixed cases of hang-ups in G4ExtrudedSolid on 32-bits platforms, due to 856 G4TessellatedSolid and G4SurfVoxelizer, caus 208 G4TessellatedSolid and G4SurfVoxelizer, caused by accessing bitmask arrays 857 with negative indexes. The problem was relat 209 with negative indexes. The problem was related to floating-point rounding, 858 which can be different even on same platform 210 which can be different even on same platform with debug/release version. 859 Assure same number of computed voxels on 32- 211 Assure same number of computed voxels on 32-bit/64-bit platforms. 860 Fixed error in SetVertexIndex() method, whic 212 Fixed error in SetVertexIndex() method, which might cause problems on 861 certain configurations even for 64-bit syste 213 certain configurations even for 64-bit systems. Fixed minor memory leaks. 862 - Code cleanup for use of G4endl and tabs... 214 - Code cleanup for use of G4endl and tabs... 863 215 864 14-Dec-2012 G.Cosmo (geom-specific-V09-06-01) 216 14-Dec-2012 G.Cosmo (geom-specific-V09-06-01) 865 - Restored SVN id headers. 217 - Restored SVN id headers. 866 218 867 02-Dec-2012 J.Allison (geom-specific-V09-06-0 219 02-Dec-2012 J.Allison (geom-specific-V09-06-00) 868 - Removed NURBS. 220 - Removed NURBS. 869 221 870 29-Nov-2012 G.Cosmo (geom-specific-V09-05-24) 222 29-Nov-2012 G.Cosmo (geom-specific-V09-05-24) 871 - Remove inclusion of G4PhysicalConstants.hh f 223 - Remove inclusion of G4PhysicalConstants.hh from G4SurfaceVoxelizer.hh. 872 - Fixed unit test for compilation errors. 224 - Fixed unit test for compilation errors. 873 225 874 28-Nov-2012 G.Cosmo (geom-specific-V09-05-23) 226 28-Nov-2012 G.Cosmo (geom-specific-V09-05-23) 875 - Fixed more cases of inclusion of constants h 227 - Fixed more cases of inclusion of constants header. 876 228 877 23-Nov-2012 G.Cosmo (geom-specific-V09-05-22) 229 23-Nov-2012 G.Cosmo (geom-specific-V09-05-22) 878 - Added 'const' qualifiers to signature in G4V 230 - Added 'const' qualifiers to signature in G4VoxelComparator::operator() 879 for porting on AIX-xlC compiler. 231 for porting on AIX-xlC compiler. 880 232 881 14-Nov-2012 P.Mato (geom-specific-V09-05-21) 233 14-Nov-2012 P.Mato (geom-specific-V09-05-21) 882 - Added #undef NDEBUG in unit tests to ensure 234 - Added #undef NDEBUG in unit tests to ensure assert works also in 883 full optimised mode. 235 full optimised mode. 884 236 885 14-Nov-2012 P. Mato (geom-specific-V09-05-20) 237 14-Nov-2012 P. Mato (geom-specific-V09-05-20) 886 - Added #undef NDEBUG in unit tests to ensure 238 - Added #undef NDEBUG in unit tests to ensure that assert always works 887 239 888 13-Nov-2012 M.Gayer (geom-specific-V09-05-19) 240 13-Nov-2012 M.Gayer (geom-specific-V09-05-19) 889 - More fixes for out-of-bound array accesses i 241 - More fixes for out-of-bound array accesses in G4SurfaceVoxelizer. 890 242 891 12-Nov-2012 M.Gayer (geom-specific-V09-05-18) 243 12-Nov-2012 M.Gayer (geom-specific-V09-05-18) 892 - Fixed out-of-bound array access in BuildRedu 244 - Fixed out-of-bound array access in BuildReduceVoxels2(). 893 245 894 06-Nov-2012 G.Cosmo (geom-specific-V09-05-17) 246 06-Nov-2012 G.Cosmo (geom-specific-V09-05-17) 895 - Correction in sources.cmake script for missi 247 - Correction in sources.cmake script for missing .icc file. 896 248 897 06-Nov-2012 G.Cosmo (geom-specific-V09-05-16) 249 06-Nov-2012 G.Cosmo (geom-specific-V09-05-16) 898 - Fixed Coverity defects in new code (M.Gayer) 250 - Fixed Coverity defects in new code (M.Gayer). 899 - Minor fixes for porting on AIX. 251 - Minor fixes for porting on AIX. 900 252 901 01-Nov-2012 G.Cosmo (geom-specific-V09-05-15) 253 01-Nov-2012 G.Cosmo (geom-specific-V09-05-15) 902 - Fixed compilation of debug code under G4SPEC 254 - Fixed compilation of debug code under G4SPECSDEBUG. 903 255 904 01-Nov-2012 M.Gayer (geom-specific-V09-05-14) 256 01-Nov-2012 M.Gayer (geom-specific-V09-05-14) 905 - Corrected signature for voxels count methods 257 - Corrected signature for voxels count methods in G4SurfaceVoxelizer. 906 258 907 31-Oct-2012 M.Gayer (geom-specific-V09-05-13) 259 31-Oct-2012 M.Gayer (geom-specific-V09-05-13) 908 - Added set/get methods for voxels count in G4 260 - Added set/get methods for voxels count in G4SurfaceVoxelizer. 909 261 910 30-Oct-2012 M.Gayer (geom-specific-V09-05-12) 262 30-Oct-2012 M.Gayer (geom-specific-V09-05-12) 911 - Fixed indexing of vertices in facets for tes 263 - Fixed indexing of vertices in facets for tessellated-solid and some cleanup. 912 264 913 27-Oct-2012 G.Cosmo (geom-specific-V09-05-11) 265 27-Oct-2012 G.Cosmo (geom-specific-V09-05-11) 914 - Fixed initialization of data in G4SurfaceVox 266 - Fixed initialization of data in G4SurfaceVoxelizer (M.Gayer). 915 - Added post-const qualifier to G4VertextCompa 267 - Added post-const qualifier to G4VertextComparator::operator() in 916 G4TessellatedSolid. 268 G4TessellatedSolid. 917 - Fixed more compilation warnings on unused va 269 - Fixed more compilation warnings on unused variable. 918 270 919 26-Oct-2012 G.Cosmo (geom-specific-V09-05-10) 271 26-Oct-2012 G.Cosmo (geom-specific-V09-05-10) 920 - Corrected compilation problem on G4SurfBits 272 - Corrected compilation problem on G4SurfBits for use of fprint(). 921 - Polished comments in disclaimer in new updat 273 - Polished comments in disclaimer in new updated classes. 922 274 923 25-Oct-2012 G.Cosmo (geom-specific-V09-05-09) 275 25-Oct-2012 G.Cosmo (geom-specific-V09-05-09) 924 - Corrected compilation warnings on Linux and 276 - Corrected compilation warnings on Linux and fixed use of memset/memcpy. 925 277 926 25-Oct-2012 G.Cosmo (geom-specific-V09-05-08) 278 25-Oct-2012 G.Cosmo (geom-specific-V09-05-08) 927 - Correction to sources.cmake. 279 - Correction to sources.cmake. 928 280 929 19-Oct-2012 M.Gayer (geom-specific-V09-05-07) 281 19-Oct-2012 M.Gayer (geom-specific-V09-05-07) 930 - Complete rewrite of G4TessellatedSolid resul 282 - Complete rewrite of G4TessellatedSolid resulting in reduced memory 931 requirements by 50%, and factor of tens or m 283 requirements by 50%, and factor of tens or more speedup for number of facets 932 of the order of thousands, thanks to ad-hoc 284 of the order of thousands, thanks to ad-hoc voxelization of the surface. 933 Factor of thousands speedup when number of f 285 Factor of thousands speedup when number of facets of the order of hundreds 934 thousand. New classes introduced, G4SurfBits 286 thousand. New classes introduced, G4SurfBits and G4SurfaceVoxelizer. 935 287 936 12-Jun-2012 G.Cosmo (geom-specific-V09-05-06) 288 12-Jun-2012 G.Cosmo (geom-specific-V09-05-06) 937 - Explicitly use inclusion of headers for syst 289 - Explicitly use inclusion of headers for system of units and physical 938 constants, in plan to remove implicit inclus 290 constants, in plan to remove implicit inclusion from globals.hh. 939 291 940 14-May-2012 G.Cosmo (geom-specific-V09-05-05) 292 14-May-2012 G.Cosmo (geom-specific-V09-05-05) 941 - Fixed spurious cases of hidden variable visi 293 - Fixed spurious cases of hidden variable visibility, detected with 942 '-Wshadow' compilation option on gcc compile 294 '-Wshadow' compilation option on gcc compiler. 943 295 944 06-Apr-2012 M.Kelsey (geom-specific-V09-05-04 296 06-Apr-2012 M.Kelsey (geom-specific-V09-05-04) 945 - Modified GetPointOnSurface() to throw sqrt(r 297 - Modified GetPointOnSurface() to throw sqrt(r) uniformly for disk surfaces, 946 in G4Paraboloid, G4Polycone and G4TwistedTub 298 in G4Paraboloid, G4Polycone and G4TwistedTubs. 947 299 948 13-Dec-2011 G.Cosmo (geom-specific-V09-05-03, 300 13-Dec-2011 G.Cosmo (geom-specific-V09-05-03, 02, 01) 949 - Fixed trivial Coverity defects in G4TwistedT 301 - Fixed trivial Coverity defects in G4TwistedTubs and G4VTwisteFaceted for 950 missing protection against self-assignment. 302 missing protection against self-assignment. 951 303 952 09-Dec-2011 T.Nikitina (geom-specific-V09-05- 304 09-Dec-2011 T.Nikitina (geom-specific-V09-05-00) 953 - Fix in G4EllipticalCone in DistanceToIn(p,v) 305 - Fix in G4EllipticalCone in DistanceToIn(p,v) to exclude imaginary solution 954 (virtual cone) when distance is calculated. 306 (virtual cone) when distance is calculated. 955 307 956 10-Nov-2011 G.Cosmo (geom-specific-V09-04-09) 308 10-Nov-2011 G.Cosmo (geom-specific-V09-04-09) 957 - Fixed trivial Coverity defects on assignment 309 - Fixed trivial Coverity defects on assignment operators... 958 310 959 25-Oct-2011 G.Cosmo (geom-specific-V09-04-08) 311 25-Oct-2011 G.Cosmo (geom-specific-V09-04-08) 960 - Fixed logic in G4VTwistSurface::GetEdgeVisib 312 - Fixed logic in G4VTwistSurface::GetEdgeVisibility() in treatment of corners. 961 313 962 16-Sep-2011 G.Cosmo (geom-specific-V09-04-07) 314 16-Sep-2011 G.Cosmo (geom-specific-V09-04-07) 963 - Fix compilation error in code within G4SPECS 315 - Fix compilation error in code within G4SPECSDEBUG. No functional changes. 964 316 965 13-Sep-2011 I.Hrivnacova (geom-specific-V09-0 317 13-Sep-2011 I.Hrivnacova (geom-specific-V09-04-06) 966 - G4TriangularFacet: fixed tests where square 318 - G4TriangularFacet: fixed tests where square root was compared to 967 half Cartesian tolerance; now compared to kC 319 half Cartesian tolerance; now compared to kCarTolerance. 968 Addressing problem report #1242. 320 Addressing problem report #1242. 969 321 970 25-Aug-2011 G.Cosmo 322 25-Aug-2011 G.Cosmo 971 - Migrated to new G4Exception scheme for warni 323 - Migrated to new G4Exception scheme for warnings and errors. 972 - Defined scheme for warnings/errors coding: 324 - Defined scheme for warnings/errors coding: 973 + 1xxx for warnings, 0xxx for errors. 325 + 1xxx for warnings, 0xxx for errors. 974 Code numbering: 326 Code numbering: 975 + 0001: not supported or implemented feature 327 + 0001: not supported or implemented features; 976 + 0002: invalid setup/construct; 328 + 0002: invalid setup/construct; 977 + 0003: invalid run condition; 329 + 0003: invalid run condition; 978 + 1001: incorrect setup; automatically adapt 330 + 1001: incorrect setup; automatically adapted. 979 + 1002: notification. 331 + 1002: notification. 980 - Added unit test for G4ExtrudedSolid (J.Apost 332 - Added unit test for G4ExtrudedSolid (J.Apostolakis). 981 333 982 22-Aug-2011 I.Hrivnacova (geom-specific-V09-0 334 22-Aug-2011 I.Hrivnacova (geom-specific-V09-04-05) 983 - Fix in G4TriangularFacet::Intersect() to tak 335 - Fix in G4TriangularFacet::Intersect() to take into account geometrical 984 tolerance and cases of zero distance from su 336 tolerance and cases of zero distance from surface's facet. 985 - Fix in G4TessellatedSolid::DistanceToOut(p) 337 - Fix in G4TessellatedSolid::DistanceToOut(p) and DistanceToIn(p) to exactly 986 compute distance from facet avoiding use of 338 compute distance from facet avoiding use of 'outgoing' flag shortcut variant. 987 - Addressing problem report #1242. 339 - Addressing problem report #1242. 988 340 989 17-Aug-2011 T.Nikitina (geom-specific-V09-04- 341 17-Aug-2011 T.Nikitina (geom-specific-V09-04-04) 990 - Fix in G4Paraboloid::DistanceToIn(p,v) and D 342 - Fix in G4Paraboloid::DistanceToIn(p,v) and DistanceToIn(p) to properly 991 take into account tolerance and provide bett 343 take into account tolerance and provide better estimation of distance 992 respectively. Addresses problem report #1234 344 respectively. Addresses problem report #1234. 993 345 994 04-Aug-2011 T.Nikitina (geom-specific-V09-04- 346 04-Aug-2011 T.Nikitina (geom-specific-V09-04-03) 995 - Added SetReferences() and InvertFacets() to 347 - Added SetReferences() and InvertFacets() to G4GenericTrap::CreatePolyhedron() 996 for proper visualisation of Boolean composit 348 for proper visualisation of Boolean compositions with G4GenericTrap. 997 - Added SetReferences() to G4TessellatedSolid: 349 - Added SetReferences() to G4TessellatedSolid::CreatePolyhedron() 998 for proper visualisation of Boolean composit 350 for proper visualisation of Boolean compositions with G4TessellatedSolid. 999 - Requires tag "greps-V09-04-04", for addressi 351 - Requires tag "greps-V09-04-04", for addressing problem report #1235. 1000 352 1001 17-May-2011 I.Hrivnacova (geom-specific-V09- 353 17-May-2011 I.Hrivnacova (geom-specific-V09-04-02) 1002 - G4ExtrudedSolid: fix in Inside(p) for false 354 - G4ExtrudedSolid: fix in Inside(p) for false overlap reporting. 1003 Addressing problem report #1211. 355 Addressing problem report #1211. 1004 356 1005 12-May-2011 G.Cosmo (geom-specific-V09-04-01 357 12-May-2011 G.Cosmo (geom-specific-V09-04-01) 1006 - Fixed compilation warnings from gcc-4.6.0 f 358 - Fixed compilation warnings from gcc-4.6.0 for variables set but not used. 1007 359 1008 06-May-2011 G.Cosmo (geom-specific-V09-04-00 360 06-May-2011 G.Cosmo (geom-specific-V09-04-00) 1009 - Use G4 typedef for CLHEP types. 361 - Use G4 typedef for CLHEP types. 1010 362 1011 26-Nov-2010 T.Nikitina (geom-specific-V09-03 363 26-Nov-2010 T.Nikitina (geom-specific-V09-03-20) 1012 - Fixes in G4GenericTrap reported by SBT unit 364 - Fixes in G4GenericTrap reported by SBT unit test in SurfaceNormal(), 1013 DistanceToPlane() and VisExtent(). 365 DistanceToPlane() and VisExtent(). 1014 366 1015 16-Nov-2010 T.Nikitina (geom-specific-V09-03 367 16-Nov-2010 T.Nikitina (geom-specific-V09-03-19) 1016 - G4EllipticalCone: fixes in DistanceToIn(p,v 368 - G4EllipticalCone: fixes in DistanceToIn(p,v) and DistanceToOut(p,v) for 1017 correct handling of point on the surface. 369 correct handling of point on the surface. 1018 Corrected formula for SurfaceNormal(p). 370 Corrected formula for SurfaceNormal(p). 1019 371 1020 10-Nov-2010 T.Nikitina (geom-specific-V09-03 372 10-Nov-2010 T.Nikitina (geom-specific-V09-03-18) 1021 - Added checks on crossing of vertices and to 373 - Added checks on crossing of vertices and too big twisted angle in 1022 G4GenericTrap. 374 G4GenericTrap. 1023 - Fixed case of division by zero in G4Twisted 375 - Fixed case of division by zero in G4TwistedTubs. 1024 - Added unit test for G4Polyhedra. 376 - Added unit test for G4Polyhedra. 1025 377 1026 02-Nov-2010 G.Cosmo (geom-specific-V09-03-17 378 02-Nov-2010 G.Cosmo (geom-specific-V09-03-17) 1027 - More fixes on Coverity reports for G4Tessel 379 - More fixes on Coverity reports for G4TessellatedSolid and G4ReduciblePolygon. 1028 380 1029 20-Oct-2010 G.Cosmo (geom-specific-V09-03-16 381 20-Oct-2010 G.Cosmo (geom-specific-V09-03-16) 1030 - Implemented Clone() virtual method for all 382 - Implemented Clone() virtual method for all solids, returning a pointer 1031 to a dynamically allocated copy of the soli 383 to a dynamically allocated copy of the solid. To be used by Geant4-MT. 1032 384 1033 23-Sep-2010 G.Cosmo (geom-specific-V09-03-15 385 23-Sep-2010 G.Cosmo (geom-specific-V09-03-15) 1034 - Initialize fpPolyhedron to zero in copy-cto 386 - Initialize fpPolyhedron to zero in copy-ctor and operator=(). 1035 - Completed implementation of copy-ctor and o 387 - Completed implementation of copy-ctor and operator=() for facets. 1036 388 1037 20-Sep-2010 G.Cosmo (geom-specific-V09-03-14 389 20-Sep-2010 G.Cosmo (geom-specific-V09-03-14) 1038 - Implemented copy-constructor and assignment 390 - Implemented copy-constructor and assignment operator for all solids 1039 to facilitate conversion to Geant4-MT. 391 to facilitate conversion to Geant4-MT. 1040 392 1041 08-Sep-2010 G.Cosmo (geom-specific-V09-03-13 393 08-Sep-2010 G.Cosmo (geom-specific-V09-03-13) 1042 - Correction to previous fix in G4ReduciblePo 394 - Correction to previous fix in G4ReduciblePolygon to avoid deleting current 1043 'vertexHead' pointer. 395 'vertexHead' pointer. 1044 396 1045 07-Sep-2010 G.Cosmo (geom-specific-V09-03-12 397 07-Sep-2010 G.Cosmo (geom-specific-V09-03-12) 1046 - Fix within G4CSGDEBUG code for restoring co 398 - Fix within G4CSGDEBUG code for restoring cout precision. 1047 - Fix in G4ReduciblePolygon::RemoveRedundantV 399 - Fix in G4ReduciblePolygon::RemoveRedundantVertices() to avoid potential 1048 case of dereferencing freed pointer. 400 case of dereferencing freed pointer. 1049 401 1050 19-Aug-2010 T.Nikitina (geom-specific-V09-03 402 19-Aug-2010 T.Nikitina (geom-specific-V09-03-11) 1051 - G4EllipticalTube: extended implementation o 403 - G4EllipticalTube: extended implementation of SurfaceNormal(p) in agreement 1052 with canonical form. Added unit test testG4 404 with canonical form. Added unit test testG4EllipticalTube.cc. 1053 405 1054 16-Jul-2010 G.Cosmo (geom-specific-V09-03-10 406 16-Jul-2010 G.Cosmo (geom-specific-V09-03-10) 1055 - Fixed cases of division by zero in G4VTwist 407 - Fixed cases of division by zero in G4VTwistSurface and G4TwistBoxSide. 1056 - Use INT_MAX as initialisation for max limit 408 - Use INT_MAX as initialisation for max limits in G4SolidExtentList. 1057 409 1058 12-Jul-2010 G.Cosmo (geom-specific-V09-03-09 410 12-Jul-2010 G.Cosmo (geom-specific-V09-03-09) 1059 - Added dummy initialization to members in st << 411 - Added dummy initialization to members in struct 1060 G4PolyPhiFace::G4PolyPhiFaceEdge, struct G4 412 G4PolyPhiFace::G4PolyPhiFaceEdge, struct G4ReduciblePolygon::ABVertex. 1061 G4Ellipsoid, G4EllipticalTube, G4EnclosingC 413 G4Ellipsoid, G4EllipticalTube, G4EnclosingCylinder, G4ExtrudedSolid, G4Hype, 1062 G4IntersectingCone, G4Paraboloid, G4PolyPhi 414 G4IntersectingCone, G4Paraboloid, G4PolyPhiFace, G4Polycone, G4PolyconeSide, 1063 G4Polyhedra, G4PolyhedraSide, G4Quadrangula 415 G4Polyhedra, G4PolyhedraSide, G4QuadrangularFacet, G4ReduciblePolygon, 1064 G4TessellatedSolid, G4TriangularFacet, G4Tw 416 G4TessellatedSolid, G4TriangularFacet, G4TwistBoxSide, G4TwistTrapAlphaSide, 1065 G4TwistTrapFlatSide, G4TwistTrapParallelSid 417 G4TwistTrapFlatSide, G4TwistTrapParallelSide, G4TwistTubsFlatSide, 1066 G4TwistTubsHypeSide, G4TwistTubsSide, G4Twi 418 G4TwistTubsHypeSide, G4TwistTubsSide, G4TwistedTubs, G4VCSGfaceted, G4VFacet, 1067 G4VTwistSurface, G4VTwistedFaceted. 419 G4VTwistSurface, G4VTwistedFaceted. 1068 - Fixed case of dereferencing null pointer in 420 - Fixed case of dereferencing null pointer in methods 1069 G4EllipticalTube::DistanceToOut(p,v), G4VCS 421 G4EllipticalTube::DistanceToOut(p,v), G4VCSGfaceted::DistanceToIn(p,v) 1070 and G4VCSGfaceted::DistanceToOut(p,v). 422 and G4VCSGfaceted::DistanceToOut(p,v). 1071 - Fixed unecessary object copy as argument in 423 - Fixed unecessary object copy as argument in method 1072 G4PolyhedraSide::IntersectSidePlane(). 424 G4PolyhedraSide::IntersectSidePlane(). 1073 - Avoid possible case of derefencing null poi 425 - Avoid possible case of derefencing null pointer in G4ReduciblePolygon 1074 RemoveDuplicateVertices() and RemoveRedunda 426 RemoveDuplicateVertices() and RemoveRedundantVertices() methods. 1075 - Replaced calls to std::abs() with std::fabs 427 - Replaced calls to std::abs() with std::fabs() where suitable. 1076 428 1077 16-Jun-2010 G.Cosmo (geom-specific-V09-03-08 429 16-Jun-2010 G.Cosmo (geom-specific-V09-03-08) 1078 - Fixed deletion of internal arrays in Create 430 - Fixed deletion of internal arrays in CreatePolyhedron() for G4Polycone 1079 and G4Polyhedra. 431 and G4Polyhedra. 1080 432 1081 11-Jun-2010 T.Nikitina (geom-specific-V09-03 433 11-Jun-2010 T.Nikitina (geom-specific-V09-03-07) 1082 - G4GenericTrap: fixed cases of zero dToIn/sT 434 - G4GenericTrap: fixed cases of zero dToIn/sToOut when vertices are collapsed 1083 to triangle, line or point. Added new metho 435 to triangle, line or point. Added new methods handling those specific cases. 1084 - Added unit test for G4GenericTrap. 436 - Added unit test for G4GenericTrap. 1085 437 1086 10-Jun-2010 I.Hrivnacova 438 10-Jun-2010 I.Hrivnacova 1087 - G4GenericTrap: fixed parameter names in Cal 439 - G4GenericTrap: fixed parameter names in CalculateExtent() for the test 1088 case construction through tessellated facet 440 case construction through tessellated facets. 1089 441 1090 09-Jun-2010 G.Cosmo 442 09-Jun-2010 G.Cosmo 1091 - G4GenericTrap: moved internal methods to pr 443 - G4GenericTrap: moved internal methods to private section and reordered 1092 in source file. Added missing implementatio 444 in source file. Added missing implementation for IsTwisted() method. 1093 445 1094 03-Jun-2010 T.Nikitina, G.Cosmo (geom-specif 446 03-Jun-2010 T.Nikitina, G.Cosmo (geom-specific-V09-03-06) 1095 - G4GenericTrap: 447 - G4GenericTrap: 1096 o Fixed initialization of fSurfaceArea and 448 o Fixed initialization of fSurfaceArea and fCubicVolume and 1097 calculation of surface area. 449 calculation of surface area. 1098 o Fixed error in Inside(p) function, and co 450 o Fixed error in Inside(p) function, and corrected use std::fabs() instead 1099 of std::abs() for floating point values. 451 of std::abs() for floating point values. 1100 o Added missing initialisation of fpPolyhed 452 o Added missing initialisation of fpPolyhedron pointer. 1101 o More corrected signatures for use of non- 453 o More corrected signatures for use of non-const references for vectors 1102 passed as arguments to functions. 454 passed as arguments to functions. 1103 455 1104 02-Jun-2010 G.Cosmo (geom-specific-V09-03-05 456 02-Jun-2010 G.Cosmo (geom-specific-V09-03-05) 1105 - G4GenericTrap: use const reference for vect 457 - G4GenericTrap: use const reference for vector of vertices passed as argument 1106 in constructor and accessor. 458 in constructor and accessor. 1107 459 1108 27-May-2010 T.Nikitina (geom-specific-V09-03 460 27-May-2010 T.Nikitina (geom-specific-V09-03-04) 1109 - First implementation of G4GenericTrap shape 461 - First implementation of G4GenericTrap shape, a new solid representing an 1110 arbitrary trapezoid with up to 8 vertices s 462 arbitrary trapezoid with up to 8 vertices standing on two parallel planes 1111 perpendicular to the Z axis. 463 perpendicular to the Z axis. 1112 464 1113 28-Apr-2010 P.R.Truscott (geom-specific-V09- 465 28-Apr-2010 P.R.Truscott (geom-specific-V09-03-03) 1114 - Fix in G4TriangularFacet and G4TessellatedS 466 - Fix in G4TriangularFacet and G4TessellatedSolid to correct treatment of 1115 optical photon transport related to interna 467 optical photon transport related to internal reflection at surface. 1116 Addresses problem report #1103. 468 Addresses problem report #1103. 1117 469 1118 15-Apr-2010 I.Hrivnacova (geom-specific-V09- 470 15-Apr-2010 I.Hrivnacova (geom-specific-V09-03-02) 1119 - G4ExtrudedSolid: eliminated requirement for 471 - G4ExtrudedSolid: eliminated requirement for clockwise ordering of polygon 1120 vertices. Added a check for vertices orderi 472 vertices. Added a check for vertices ordering; if vertices are defined 1121 anti-clockwise their ordering is reverted. 473 anti-clockwise their ordering is reverted. 1122 Fix in polygon facet triangularization for 474 Fix in polygon facet triangularization for consequent concave vertices. 1123 475 1124 24-Feb-2010 G.Cosmo (geom-specific-V09-03-01 476 24-Feb-2010 G.Cosmo (geom-specific-V09-03-01) 1125 - Adopt caching of Phi in G4PolyconeSide and 477 - Adopt caching of Phi in G4PolyconeSide and G4PolyhedraSide to avoid 1126 unnecessary consecutive computations on the 478 unnecessary consecutive computations on the same point. 1127 479 1128 10-Feb-2010 G.Cosmo (geom-specific-V09-03-00 480 10-Feb-2010 G.Cosmo (geom-specific-V09-03-00) 1129 - Use kInfinity for initialising minimum and 481 - Use kInfinity for initialising minimum and maximum allowed extent for 1130 G4SolidExtentList of faceted solids. 482 G4SolidExtentList of faceted solids. 1131 483 1132 11-Nov-2009 G.Cosmo (geom-specific-V09-02-08 484 11-Nov-2009 G.Cosmo (geom-specific-V09-02-08) 1133 - Avoid fake (and redundant) assignment of va 485 - Avoid fake (and redundant) assignment of value to 3-vector in 1134 G4PolyconeSide and G4TwistTubsSide. 486 G4PolyconeSide and G4TwistTubsSide. 1135 487 1136 24-Sep-2009 T.Nikitina (geom-specific-V09-02 488 24-Sep-2009 T.Nikitina (geom-specific-V09-02-07) 1137 - G4Ellipsoid: refined fix in DistanceToIn(p, 489 - G4Ellipsoid: refined fix in DistanceToIn(p,v) for points located on the 1138 curved surface, and correct treatment of ge 490 curved surface, and correct treatment of geometrical tolerance. 1139 491 1140 09-Sep-2009 G.Cosmo (geom-specific-V09-02-06 492 09-Sep-2009 G.Cosmo (geom-specific-V09-02-06) 1141 - G4Ellipsoid: fixed usage of half-tolerances 493 - G4Ellipsoid: fixed usage of half-tolerances (radial and Cartesian) in 1142 DistanceToIn(p,v), based on incorrect assum 494 DistanceToIn(p,v), based on incorrect assumptions introduced in tag 1143 "geom-specific-V09-02-04", responsible for 495 "geom-specific-V09-02-04", responsible for zero steps on configurations 1144 with cut in Z. Addresses problem report #10 496 with cut in Z. Addresses problem report #1076. 1145 497 1146 04-Aug-2009 T.Nikitina (geom-specific-V09-02 498 04-Aug-2009 T.Nikitina (geom-specific-V09-02-05) 1147 - G4Ellipsoid: 499 - G4Ellipsoid: 1148 o Fixes in Inside(p) and in DistanceToIn(p, 500 o Fixes in Inside(p) and in DistanceToIn(p,v) for points 1149 located on the curved surface within tole 501 located on the curved surface within tolerance. Final fix for issue 1150 reported in problem report #1050 and conc 502 reported in problem report #1050 and concerning warnings reported by 1151 grid_test. 503 grid_test. 1152 o Adopt pre-computed half-tolerance values 504 o Adopt pre-computed half-tolerance values for optimisation. 1153 505 1154 23-Jul-2009 T.Nikitina (geom-specific-V09-02 506 23-Jul-2009 T.Nikitina (geom-specific-V09-02-04) 1155 - G4Ellipsoid: fix to DistanceToIn(p,v) in th 507 - G4Ellipsoid: fix to DistanceToIn(p,v) in the calculation of the roots of 1156 the quadratic equation and in DistanceToOut 508 the quadratic equation and in DistanceToOut(p,v) in the calculation of the 1157 normal on cut surfaces. Final fix for probl 509 normal on cut surfaces. Final fix for problem report #1022 and #1050. 1158 - G4PolyconeSide: added protection in method 510 - G4PolyconeSide: added protection in method Normal(), addressing problem 1159 report #1073. 511 report #1073. 1160 512 1161 30-Jun-2009 T.Nikitina (geom-specific-V09-02 513 30-Jun-2009 T.Nikitina (geom-specific-V09-02-03) 1162 - G4Ellipsoid: introduced to DistanceToIn(p,v 514 - G4Ellipsoid: introduced to DistanceToIn(p,v) splitting of the distance for 1163 point very far from intersection area and b 515 point very far from intersection area and big difference between solid 1164 dimensions and distance to it; resolves iss 516 dimensions and distance to it; resolves issue observed on 64 bits problem. 1165 Also addressing problem report #1022. 517 Also addressing problem report #1022. 1166 518 1167 08-May-2009, G.Cosmo (geom-specific-V09-02-02 519 08-May-2009, G.Cosmo (geom-specific-V09-02-02) 1168 - Corrected typo in base implementation of G4 520 - Corrected typo in base implementation of G4VCSGfaceted::GetSurfaceArea(), 1169 which was erroneously returning cubic volum 521 which was erroneously returning cubic volume estimation. 1170 Addresses problem report #1062. 522 Addresses problem report #1062. 1171 523 1172 27-Apr-2009, G.Cosmo (geom-specific-V09-02-01 524 27-Apr-2009, G.Cosmo (geom-specific-V09-02-01) 1173 - Relaxed error condition in G4TessellatedSol 525 - Relaxed error condition in G4TessellatedSolid::Inside(p) to warning, for 1174 excess of max trials and anomalous conditio 526 excess of max trials and anomalous conditions in distance calculation. 1175 Added more printout information when error 527 Added more printout information when error condition is detected. 1176 528 1177 27-Feb-2009, T.Nikitina (geom-specific-V09-02 529 27-Feb-2009, T.Nikitina (geom-specific-V09-02-00) 1178 - Fix in G4Paraboloid::DistanceToOut(p,v,..) 530 - Fix in G4Paraboloid::DistanceToOut(p,v,..) for the computation of normal 1179 to surface; added missing normalisation to 531 to surface; added missing normalisation to unit, following remark in the 1180 Geometry Forum Hypernews posting #953. 532 Geometry Forum Hypernews posting #953. 1181 533 1182 21-Nov-2008, G.Cosmo (geom-specific-V09-01-19 534 21-Nov-2008, G.Cosmo (geom-specific-V09-01-19) 1183 - Added missing accessors to G4EllipticalCone 535 - Added missing accessors to G4EllipticalCone, required for detector 1184 persistency. 536 persistency. 1185 537 1186 13-Nov-2008, G.Cosmo (geom-specific-V09-01-18 538 13-Nov-2008, G.Cosmo (geom-specific-V09-01-18) 1187 - Corrected initialisation of algorithm in G4 539 - Corrected initialisation of algorithm in G4TriangularFacet constructor. 1188 540 1189 30-Oct-2008, I.Hrivnacova (geom-specific-V09- 541 30-Oct-2008, I.Hrivnacova (geom-specific-V09-01-17) 1190 - G4ExtrudedSolid: fixed bug in the decomposi 542 - G4ExtrudedSolid: fixed bug in the decomposition of polygonal sides for 1191 quadrangular facets in MakeFacets(). Addres 543 quadrangular facets in MakeFacets(). Addresses problem report #1029. 1192 544 1193 23-Sep-2008, T.Nikitina (geom-specific-V09-01 545 23-Sep-2008, T.Nikitina (geom-specific-V09-01-16) 1194 - Corrected algorithm in G4TriangularFacet::G 546 - Corrected algorithm in G4TriangularFacet::GetPointOnFace() according to 1195 suggestion advanced in problem report #1025 547 suggestion advanced in problem report #1025. Fixes a problem of false 1196 overlaps detection related to G4ExtrudedSol 548 overlaps detection related to G4ExtrudedSolid and G4TessellatedSolid. 1197 549 1198 12-Sep-2008, G.Cosmo (geom-specific-V09-01-15 550 12-Sep-2008, G.Cosmo (geom-specific-V09-01-15) 1199 - G4VFacet: corrected increment of indeces in 551 - G4VFacet: corrected increment of indeces in operator==(), following 1200 problem report #1024. 552 problem report #1024. 1201 553 1202 25-Jul-2008, I.Hrivnacova (geom-specific-V09- 554 25-Jul-2008, I.Hrivnacova (geom-specific-V09-01-14) 1203 - G4ExtrudedSolid: fix in polygon decompositi 555 - G4ExtrudedSolid: fix in polygon decomposition; systematically use 1204 half kCarTolerance instead of kCarTolerance 556 half kCarTolerance instead of kCarTolerance; added solid name in the 1205 error messages coming from fatal exceptions 557 error messages coming from fatal exceptions. 1206 558 1207 16-Jul-2008, T.Nikitina (geom-specific-V09-01 559 16-Jul-2008, T.Nikitina (geom-specific-V09-01-13) 1208 - G4Paraboloid: revised DistanceToOut(p,v,... 560 - G4Paraboloid: revised DistanceToOut(p,v,...) in answer to problem report 1209 #1015. Fixed precision problem when solving 561 #1015. Fixed precision problem when solving quadratic equation; apply 1210 comparison with kCarTolerance and not with 562 comparison with kCarTolerance and not with zero; fixed logic problem in 1211 algoritm for points on surface and directio 563 algoritm for points on surface and direction inside, relative to directions 1212 along Z, (0,0,Vz). 564 along Z, (0,0,Vz). 1213 565 1214 22-May-2008, G.Cosmo (geom-specific-V09-01-12 566 22-May-2008, G.Cosmo (geom-specific-V09-01-12) 1215 - Removed left-over debug printout in G4VCSGF 567 - Removed left-over debug printout in G4VCSGFaceted::DistanceToIn(). 1216 568 1217 15-May-2008, T.Nikitina (geom-specific-V09-01 569 15-May-2008, T.Nikitina (geom-specific-V09-01-11) 1218 - Enhanced GetPointOnSurface() for generic G4 570 - Enhanced GetPointOnSurface() for generic G4Polycone and G4Polyhedra 1219 constructs; the method uses new triangulati 571 constructs; the method uses new triangulation algorithm for G4PolyPhiFace. 1220 - G4ExtrudedSolid: added missing 'std' namesp 572 - G4ExtrudedSolid: added missing 'std' namespace to standard mathematical 1221 function calls. 573 function calls. 1222 574 1223 28-Apr-2008, T.Nikitina (geom-specific-V09-01 575 28-Apr-2008, T.Nikitina (geom-specific-V09-01-10) 1224 - Added kCarTolerance in definition of "low" 576 - Added kCarTolerance in definition of "low" and "high" cone limits in R 1225 and in Z in order to protect against numeri 577 and in Z in order to protect against numerical errors. This fixes cases of 1226 DistanceToIn(p,v) returning 'kInfinity' whe 578 DistanceToIn(p,v) returning 'kInfinity' when p+t*v cross intersection 1227 between two cones. 579 between two cones. 1228 580 1229 25-Apr-2008, T.Nikitina (geom-specific-V09-01 581 25-Apr-2008, T.Nikitina (geom-specific-V09-01-09) 1230 - Added protection against NaN in G4Intersect 582 - Added protection against NaN in G4IntersectingCone::LineHitsCone1() in 1231 case of configuration where a conic section 583 case of configuration where a conic section becomes a tube. 1232 - G4EllipticalCone: removed some debug printo 584 - G4EllipticalCone: removed some debug printouts. 1233 585 1234 14-Apr-2008, T.Nikitina (geom-specific-V09-01 586 14-Apr-2008, T.Nikitina (geom-specific-V09-01-08) 1235 - G4Hype: refined polyhedron representation f 587 - G4Hype: refined polyhedron representation for correct visualization of 1236 the shape. Coworks with tag "greps-V09-01-0 588 the shape. Coworks with tag "greps-V09-01-04". 1237 589 1238 13-Mar-2008, G.Cosmo (geom-specific-V09-01-07 590 13-Mar-2008, G.Cosmo (geom-specific-V09-01-07) 1239 - Cleared compilation warnings in G4Paraboloi 591 - Cleared compilation warnings in G4Paraboloid and G4TessellatedSolid 1240 on gcc-4.3.0 for ambiguous use of parenthes 592 on gcc-4.3.0 for ambiguous use of parentheses in condition statements. 1241 593 1242 28-Feb-2008, I.Hrivnacova (geom-specific-V09- 594 28-Feb-2008, I.Hrivnacova (geom-specific-V09-01-06) 1243 - Correction to previous fix in G4ExtrudedSol 595 - Correction to previous fix in G4ExtrudedSolid: testing on the edges has 1244 to be limited to the line segment, for this 596 to be limited to the line segment, for this purpose a new internal method 1245 IsSameLineSegment() has been introduced for 597 IsSameLineSegment() has been introduced for use instead of IsSameLine(). 1246 - Updated and extended unit test testG4Extrud 598 - Updated and extended unit test testG4ExtrudedSolid.cc. 1247 599 1248 27-Feb-2008, I.Hrivnacova (geom-specific-V09- 600 27-Feb-2008, I.Hrivnacova (geom-specific-V09-01-05) 1249 - Fix in G4TessellatedSolid::DistanceToOut(p, 601 - Fix in G4TessellatedSolid::DistanceToOut(p,v,..) to compute normal only 1250 if specified by flag in input. 602 if specified by flag in input. 1251 - Fix in G4ExtrudedSolid::Inside(p) for corre 603 - Fix in G4ExtrudedSolid::Inside(p) for correctly handling the case of 1252 points located on the edges of triangles wh 604 points located on the edges of triangles which are not the outline edges 1253 of the polygon. 605 of the polygon. 1254 606 1255 21-Feb-2008, T.Nikitina (geom-specific-V09-01 607 21-Feb-2008, T.Nikitina (geom-specific-V09-01-04) 1256 - G4Polyhedra: fixed problem of out-of-bound 608 - G4Polyhedra: fixed problem of out-of-bound access to vectors in 1257 GetPointOnSurface(). 609 GetPointOnSurface(). 1258 610 1259 20-Feb-2008, I.Hrivnacova (geom-specific-V09- 611 20-Feb-2008, I.Hrivnacova (geom-specific-V09-01-03) 1260 - G4TessellatedSolid: fixed bug in copy-const 612 - G4TessellatedSolid: fixed bug in copy-constructor and internal method 1261 CopyObjects() for cloning of facets. 613 CopyObjects() for cloning of facets. 1262 614 1263 05-Feb-2008, I.Hrivnacova (geom-specific-V09- 615 05-Feb-2008, I.Hrivnacova (geom-specific-V09-01-02) 1264 - G4ExtrudedSolid: bug fix in MakeFacets() to 616 - G4ExtrudedSolid: bug fix in MakeFacets() to fill 'fTriangles' also in case 1265 of polygon with 3 or 4 vertices, as they ar 617 of polygon with 3 or 4 vertices, as they are needed for Inside(p). 1266 618 1267 02-Feb-2008, I.Hrivnacova (geom-specific-V09- 619 02-Feb-2008, I.Hrivnacova (geom-specific-V09-01-01) 1268 - Corrected triangularization of polygon, now 620 - Corrected triangularization of polygon, now correctly handling case 1269 of concave shapes. 621 of concave shapes. 1270 - Corrected order of arguments in G4Paraboloi << 622 - Corrected order of arguments in G4Paraboloid constructor. 1271 623 1272 16-Jan-2008, I.Hrivnacova (geom-specific-V09- 624 16-Jan-2008, I.Hrivnacova (geom-specific-V09-01-00) 1273 - In G4ExtrudedSolid::MakeFacets(), now addin 625 - In G4ExtrudedSolid::MakeFacets(), now adding triangular facets before quadrangular 1274 ones, following logic behind G4TessellatedS 626 ones, following logic behind G4TessellatedSolid. 1275 627 1276 12-Dec-2007, G.Cosmo (geom-specific-V09-00-08 628 12-Dec-2007, G.Cosmo (geom-specific-V09-00-08a) 1277 - Remove use of global static constant from s 629 - Remove use of global static constant from singleton initialisation in 1278 G4TessellatedGeometryAlgorithms class. Use 630 G4TessellatedGeometryAlgorithms class. Use 'sqrEpsilon' as local value. 1279 631 1280 15-Nov-2007, P.Truscott (geom-specific-V09-00 632 15-Nov-2007, P.Truscott (geom-specific-V09-00-08) 1281 - Reviewed implementation of G4TessellatedSol 633 - Reviewed implementation of G4TessellatedSolid::CalculateExtent() to 1282 make it more robust and precise, following 634 make it more robust and precise, following suggestion by S.Seibert 1283 addressed in problem report #983, now fixed 635 addressed in problem report #983, now fixed. 1284 636 1285 12-Oct-2007, G.Cosmo (geom-specific-V09-00-07 637 12-Oct-2007, G.Cosmo (geom-specific-V09-00-07) 1286 - Corrected wrong boolean condition in method 638 - Corrected wrong boolean condition in method IntersectLineAndTriangle2D() 1287 of G4TessellatedGeometryAlgorithms causing 639 of G4TessellatedGeometryAlgorithms causing compilation error on VC++8. 1288 640 1289 09-Oct-2007, G.Cosmo (geom-specific-V09-00-06 641 09-Oct-2007, G.Cosmo (geom-specific-V09-00-06) 1290 - Reviewed G4TessellatedSolid classes in orde 642 - Reviewed G4TessellatedSolid classes in order not to make use of random 1291 numbers for selection of direction (by P.Tr 643 numbers for selection of direction (by P.Truscott). 1292 644 1293 02-Oct-2007, G.Cosmo 645 02-Oct-2007, G.Cosmo 1294 - Removed debug printout in G4Polycone::GetPo 646 - Removed debug printout in G4Polycone::GetPointOnCone(). 1295 647 1296 23-Aug-2007, G.Cosmo (geom-specific-V09-00-05 648 23-Aug-2007, G.Cosmo (geom-specific-V09-00-05) 1297 - Revision of G4TessellatedSolid classes: 649 - Revision of G4TessellatedSolid classes: 1298 o Fixed problem report #931 by P.Truscott, 650 o Fixed problem report #931 by P.Truscott, based on suggestion of 1299 R.Holmberg. Modified classes G4Tessellate 651 R.Holmberg. Modified classes G4TessellatedSolid and G4TriangularFacet. 1300 o Modified data and accessor 'centroid' and 652 o Modified data and accessor 'centroid' and 'GetCentroid()' for G4VFacet; 1301 replaced by 'circumcentre' and 'GetCircum 653 replaced by 'circumcentre' and 'GetCircumcentre()' respectively. 1302 o Added utility class G4TessellatedGeometry 654 o Added utility class G4TessellatedGeometryAlgorithms. 1303 - Added formulas for calculating SemiAxis and 655 - Added formulas for calculating SemiAxis and Zheight in G4EllipticalCone 1304 (by T.Nikitina). 656 (by T.Nikitina). 1305 657 1306 20-Aug-2007, T.Nikitina & L.Lindroos (geom-sp 658 20-Aug-2007, T.Nikitina & L.Lindroos (geom-specific-V09-00-04) 1307 - Revision of G4EllipticalCone: 659 - Revision of G4EllipticalCone: 1308 o DistanceToIn(p): corrected answer for p.z 660 o DistanceToIn(p): corrected answer for p.z()<-zTopCut and for the point 1309 p on the surface. 661 p on the surface. 1310 o DistanceToOut(p,v): now returning positiv 662 o DistanceToOut(p,v): now returning positive solution or zero when crossing 1311 the elliptical surface. 663 the elliptical surface. 1312 o Fix in DistanceToOut(p) which was giving << 664 o Fix in DistanceToOut(p) which was giving always zero. 1313 o Corrected visualisation error of solid in 665 o Corrected visualisation error of solid in graphics_reps. 1314 o Added some formulas on how to pre-calcula 666 o Added some formulas on how to pre-calculate 'SemiAxis' and 'zheight'. 1315 o Added checkDistanceToOut() method to unit 667 o Added checkDistanceToOut() method to unit test. 1316 - Corrections to G4Paraboloid: 668 - Corrections to G4Paraboloid: 1317 o Fixed bug in CalculateSurfaceArea() metho 669 o Fixed bug in CalculateSurfaceArea() method 1318 o Added correct initialisation of 'fPolyhed 670 o Added correct initialisation of 'fPolyhedron' in constructor. 1319 o Added unit test testG4Paraboloid. 671 o Added unit test testG4Paraboloid. 1320 672 1321 13-Aug-2007, W.Pokorski (geom-specific-V09-00 673 13-Aug-2007, W.Pokorski (geom-specific-V09-00-03) 1322 - G4PolyconeSide: added workaround to initial 674 - G4PolyconeSide: added workaround to initialisation of 'corners' vector, 1323 to allow for object persistency with Root-I 675 to allow for object persistency with Root-I/O (W.Pokorski). 1324 676 1325 18-Jul-2007, G.Cosmo (geom-specific-V09-00-02 677 18-Jul-2007, G.Cosmo (geom-specific-V09-00-02) 1326 - New specific G4Paraboloid with cuts along t 678 - New specific G4Paraboloid with cuts along the Z axis (by L.Lindroos). 1327 - Fixed dummy constructors of G4Polycone and 679 - Fixed dummy constructors of G4Polycone and G4PolyPhiFace for initialisation 1328 of 'edges' and 'corners'. 680 of 'edges' and 'corners'. 1329 - Coworks with tag "greps-V09-00-01". 681 - Coworks with tag "greps-V09-00-01". 1330 682 1331 12-Jul-2007, T.Nikitina (geom-specific-V09-00 683 12-Jul-2007, T.Nikitina (geom-specific-V09-00-01) 1332 - Fix in G4Polyhedra::GetPointOnSurface() to 684 - Fix in G4Polyhedra::GetPointOnSurface() to correctly treat 'totalPhi' instead of 1333 'endPhi' for the case of open shapes and 't 685 'endPhi' for the case of open shapes and 'twopi' for not open shapes. 1334 686 1335 05-Jul-2007, T.Nikitina (geom-specific-V09-00 687 05-Jul-2007, T.Nikitina (geom-specific-V09-00-00) 1336 - Fix in G4Polyhedra::GetPointOnSurface() for 688 - Fix in G4Polyhedra::GetPointOnSurface() for the case when number of sectors 1337 (numSide) is equal to 1. At the origin of p 689 (numSide) is equal to 1. At the origin of problems observed when checking 1338 overlaps for polyhedra solids defined as su 690 overlaps for polyhedra solids defined as such. 1339 691 1340 31-May-2007, G.Cosmo (geom-specific-V08-03-03 692 31-May-2007, G.Cosmo (geom-specific-V08-03-03) 1341 - Fixed initialisation of constants in constr 693 - Fixed initialisation of constants in constructor for - G4VTwistSurface, 1342 G4PolyPhiFace, G4PolyconeSide, G4PolyhedraS 694 G4PolyPhiFace, G4PolyconeSide, G4PolyhedraSide - following latest changes 1343 for tunable tolerance. 695 for tunable tolerance. 1344 696 1345 25-May-2007, G.Cosmo (geom-specific-V08-03-02 697 25-May-2007, G.Cosmo (geom-specific-V08-03-02) 1346 - Fixed default response of DistToIn/DistToOu 698 - Fixed default response of DistToIn/DistToOut for twisted solids. 1347 - Use G4TWISTDEBUG instead of G4SPECSDEBUG as 699 - Use G4TWISTDEBUG instead of G4SPECSDEBUG as debug conditional flag 1348 for twisted solids. 700 for twisted solids. 1349 - Some cleanup in G4TwistTrapAlphaSide code. 701 - Some cleanup in G4TwistTrapAlphaSide code. 1350 702 1351 18-May-2007, G.Cosmo (geom-specific-V08-03-01 703 18-May-2007, G.Cosmo (geom-specific-V08-03-01) 1352 - Use kAngTolerance and kRadTolerance from G4 704 - Use kAngTolerance and kRadTolerance from G4GeometryTolerance class. 1353 - Coworks with tag "global-V08-03-03". 705 - Coworks with tag "global-V08-03-03". 1354 706 1355 11-May-2007, T.Nikitina (geom-specific-V08-03 707 11-May-2007, T.Nikitina (geom-specific-V08-03-00) 1356 - Use call to G4GeometryTolerance instead of 708 - Use call to G4GeometryTolerance instead of kCarTolerance where needed. 1357 - Requires tag "global-V08-03-00" and related 709 - Requires tag "global-V08-03-00" and related tag set. 1358 710 1359 26-Apr-2007, T.Nikitina (geom-specific-V08-02 711 26-Apr-2007, T.Nikitina (geom-specific-V08-02-05) 1360 - Fix in GetPointOnSurface() for G4Polycone t 712 - Fix in GetPointOnSurface() for G4Polycone to consider also points laying 1361 on rings when consecutive Z-sections are co 713 on rings when consecutive Z-sections are coincident. 1362 Added method GetPointOnRing(). 714 Added method GetPointOnRing(). 1363 - Added unit test testPointOnSurfacePoly.cc. 715 - Added unit test testPointOnSurfacePoly.cc. 1364 716 1365 27-Feb-2007, I.Hrivnacova (geom-specific-V08- 717 27-Feb-2007, I.Hrivnacova (geom-specific-V08-02-04) 1366 - Added specialised constructor for handling 718 - Added specialised constructor for handling Z-sections in G4ExtrudedSolid. 1367 - Cleared unecessary declaration of IsInside( 719 - Cleared unecessary declaration of IsInside() methods in G4TriangularFacet 1368 and G4QuadrangularFacet. 720 and G4QuadrangularFacet. 1369 - Updated unit test for G4ExtrudedSolid. 721 - Updated unit test for G4ExtrudedSolid. 1370 722 1371 26-Feb-2007, I.Hrivnacova (geom-specific-V08- 723 26-Feb-2007, I.Hrivnacova (geom-specific-V08-02-04) 1372 - Added specialised constructor for handling 724 - Added specialised constructor for handling Z-sections in G4ExtrudedSolid. 1373 - Cleared unecessary declaration of IsInside( 725 - Cleared unecessary declaration of IsInside() methods in G4TriangularFacet 1374 and G4QuadrangularFacet. 726 and G4QuadrangularFacet. 1375 - Updated unit test for G4ExtrudedSolid. 727 - Updated unit test for G4ExtrudedSolid. 1376 728 1377 15-Feb-2007, I.Hrivnacova (geom-specific-V08- 729 15-Feb-2007, I.Hrivnacova (geom-specific-V08-02-03) 1378 - Corrected caching of values in G4ExtrudedSo 730 - Corrected caching of values in G4ExtrudedSolid. 1379 - Bug fix in G4TriangularFacet::Intersect() t 731 - Bug fix in G4TriangularFacet::Intersect() to allow for correct update of 1380 'Distance' in condition. 732 'Distance' in condition. 1381 - Updated unit test for G4ExtrudedSolid. 733 - Updated unit test for G4ExtrudedSolid. 1382 734 1383 09-Feb-2007, G.Cosmo (geom-specific-V08-02-02 735 09-Feb-2007, G.Cosmo (geom-specific-V08-02-02) 1384 - Introduced new shape G4ExtrudedSolid, a sol 736 - Introduced new shape G4ExtrudedSolid, a solid representing the extrusion 1385 of an arbitrary polygon with fixed outline 737 of an arbitrary polygon with fixed outline in the two Z sections. 1386 New files: G4ExtrudedSolid[.hh.icc.cc] and 738 New files: G4ExtrudedSolid[.hh.icc.cc] and testG4ExtrudedSolid.cc 1387 by I.Hrivnacova. 739 by I.Hrivnacova. 1388 - G4TessellatedSolid: 740 - G4TessellatedSolid: 1389 o Made relevant solid's methods virtual, to 741 o Made relevant solid's methods virtual, to be used as base class. 1390 o Added implementation for GetSurfaceArea() 742 o Added implementation for GetSurfaceArea() and GetPointOnSurface() methods. 1391 o Added protection in SurfaceNormal() metho 743 o Added protection in SurfaceNormal() method in case of facet not found. 1392 o Check and return kOutside in Inside() if 744 o Check and return kOutside in Inside() if point out of solid's extent. 1393 745 1394 01-Feb-2007, G.Cosmo (geom-specific-V08-02-01 746 01-Feb-2007, G.Cosmo (geom-specific-V08-02-01) 1395 - Fix in G4PolyconeSide::DistanceAway() for c 747 - Fix in G4PolyconeSide::DistanceAway() for correct estimation of distance 1396 for the case of Phi sections (T.Nikitina). 748 for the case of Phi sections (T.Nikitina). 1397 Addresses problem report #598. 749 Addresses problem report #598. 1398 - Updated unit test for G4Polycone to conside 750 - Updated unit test for G4Polycone to consider new test case. 1399 751 1400 22-Jan-2007, G.Cosmo (geom-specific-V08-02-00 752 22-Jan-2007, G.Cosmo (geom-specific-V08-02-00) 1401 - Do not scale reducible-polygon in G4Polyhed 753 - Do not scale reducible-polygon in G4Polyhedra::Reset() method. 1402 The 'original_parameters' structure offered 754 The 'original_parameters' structure offered as input through the accessors 1403 are always assumed to be already scaled by 755 are always assumed to be already scaled by the 'cos(0.5*phiTotal/theNumSide)' 1404 factor. Addresses problem report #873. 756 factor. Addresses problem report #873. 1405 - Fixed warning printout in G4Polycone::Reset 757 - Fixed warning printout in G4Polycone::Reset(). 1406 758 1407 15-Nov-2006, J.Allison (geom-specific-V08-01- 759 15-Nov-2006, J.Allison (geom-specific-V08-01-04) 1408 - Fixed typo in G4Polycone::CreatePolyhedron( 760 - Fixed typo in G4Polycone::CreatePolyhedron() introduced by mistake in 1409 the last cleanup of the source code. 761 the last cleanup of the source code. 1410 762 1411 13-Nov-2006, G.Cosmo (geom-specific-V08-01-03 763 13-Nov-2006, G.Cosmo (geom-specific-V08-01-03) 1412 - Added concrete implementation of GetSurface 764 - Added concrete implementation of GetSurfaceArea() in G4Tet (M.H.Mendenhall). 1413 765 1414 08-Nov-2006, G.Cosmo (geom-specific-V08-01-02 766 08-Nov-2006, G.Cosmo (geom-specific-V08-01-02) 1415 - Cleared compilation warnings on SUN-CC for 767 - Cleared compilation warnings on SUN-CC for changes in the last tag. 1416 Fixed overloaded class variables in G4Polyh 768 Fixed overloaded class variables in G4Polyhedra and G4Polycone 1417 implementation of CreatePolyhedron(). 769 implementation of CreatePolyhedron(). 1418 770 1419 31-Oct-2006, J.Allison (geom-specific-V08-01- 771 31-Oct-2006, J.Allison (geom-specific-V08-01-01) 1420 - Implemented CreatePolyhedron() for G4Polyhe 772 - Implemented CreatePolyhedron() for G4Polyhedra and G4Polycone. 1421 773 1422 20-Oct-2006, G.Cosmo (geom-specific-V08-01-00 774 20-Oct-2006, G.Cosmo (geom-specific-V08-01-00) 1423 - Implemented caching mechanism for computati 775 - Implemented caching mechanism for computation of surface area in 1424 all solids and base classes, as done for th 776 all solids and base classes, as done for the geometrical volume 1425 computation. 777 computation. 1426 - Added missing fake constructor for object p 778 - Added missing fake constructor for object persistency to G4TessellatedSolid. 1427 779 1428 20-Jun-2006, G.Cosmo (geom-specific-V08-00-10 780 20-Jun-2006, G.Cosmo (geom-specific-V08-00-10) 1429 - Added accessor method GetVertices() in G4Te 781 - Added accessor method GetVertices() in G4Tet to return the list of 1430 vertices composing the solid. Required for 782 vertices composing the solid. Required for GDML persistency. 1431 783 1432 06-Jun-2006, G.Cosmo (geom-specific-V08-00-09 784 06-Jun-2006, G.Cosmo (geom-specific-V08-00-09) 1433 - Added protection against NaNs in G4Polycone 785 - Added protection against NaNs in G4PolyconeSide::Normal() for points at 1434 the origin. 786 the origin. 1435 787 1436 19-May-2006, G.Cosmo (geom-specific-V08-00-08 788 19-May-2006, G.Cosmo (geom-specific-V08-00-08) 1437 - Fix in G4Ellipsoid::SetZCuts() and G4Ellipt 789 - Fix in G4Ellipsoid::SetZCuts() and G4EllipticalTube::SetZCut() for usage 1438 of uninitialised variables. 790 of uninitialised variables. 1439 791 1440 08-May-2006, G.Cosmo (geom-specific-V08-00-07 792 08-May-2006, G.Cosmo (geom-specific-V08-00-07) 1441 - Cleared compilation warning on SUN-CC in G4 793 - Cleared compilation warning on SUN-CC in G4TriangularFacet.cc. 1442 794 1443 04-May-2006, G.Cosmo (geom-specific-V08-00-06 795 04-May-2006, G.Cosmo (geom-specific-V08-00-06) 1444 - Use different names for unit tests to avoid 796 - Use different names for unit tests to avoid confusing liblist ... 1445 797 1446 03-May-2006, G.Cosmo (geom-specific-V08-00-05 798 03-May-2006, G.Cosmo (geom-specific-V08-00-05) 1447 - Added four unit tests for G4TessellatedSoli 799 - Added four unit tests for G4TessellatedSolid. 1448 800 1449 24-Mar-2006, G.Cosmo (geom-specific-V08-00-04 801 24-Mar-2006, G.Cosmo (geom-specific-V08-00-04) 1450 - G4TwistedTubs: defined exact estimation for 802 - G4TwistedTubs: defined exact estimation for GetCubicVolume(), 1451 similar to the one adopted for G4Tubs. 803 similar to the one adopted for G4Tubs. 1452 804 1453 03-Mar-2006, G.Cosmo (geom-specific-V08-00-03 805 03-Mar-2006, G.Cosmo (geom-specific-V08-00-03) 1454 - Corrected boolean condition in G4Triangular 806 - Corrected boolean condition in G4TriangularFacet::Intersect(). 1455 Use '&&' operator in condition. Allows for 807 Use '&&' operator in condition. Allows for porting on WIN32-VC. 1456 808 1457 01-Mar-2006, G.Cosmo (geom-specific-V08-00-02 809 01-Mar-2006, G.Cosmo (geom-specific-V08-00-02) 1458 - Introducing first implementation of a tesse 810 - Introducing first implementation of a tessellated solid, contribution 1459 of P.R.Truscott (QinetiQ Ltd, UK). 811 of P.R.Truscott (QinetiQ Ltd, UK). 1460 New classes: G4QuadrangularFacet, G4Tessell 812 New classes: G4QuadrangularFacet, G4TessellatedSolid, G4TriangularFacet 1461 and G4VFacet. 813 and G4VFacet. 1462 - Requires tag "greps-V08-00-00". 814 - Requires tag "greps-V08-00-00". 1463 815 1464 12-Jan-2006, J.Allison (geom-specific-V08-00- 816 12-Jan-2006, J.Allison (geom-specific-V08-00-01) 1465 - G4TwistedTubs and G4VTwistedFaceted::Create 817 - G4TwistedTubs and G4VTwistedFaceted::CreatePolyhedron(): 1466 parameterised polyhedron mesh approximation 818 parameterised polyhedron mesh approximation in terms of 1467 G4Polyhedron::GetNumberOfRotationSteps(). 819 G4Polyhedron::GetNumberOfRotationSteps(). 1468 This is (a) more economical and (b) amenabl 820 This is (a) more economical and (b) amenable to user control. 1469 821 1470 19-Dec-2005, O.Link (geom-specific-V08-00-00) 822 19-Dec-2005, O.Link (geom-specific-V08-00-00) 1471 - Fixes in G4EllipticalCone: 823 - Fixes in G4EllipticalCone: 1472 o Changed GetPointOnSurface(), which was no 824 o Changed GetPointOnSurface(), which was not uniform in endcaps. 1473 o Bug fix in Inside(), which was not correc 825 o Bug fix in Inside(), which was not correct for the elliptic mantel. 1474 Made test similar as in G4EllipticTube. 826 Made test similar as in G4EllipticTube. 1475 o Several fixes in DistanceToIn/Out(): for 827 o Several fixes in DistanceToIn/Out(): for looping events (shortest 1476 distance was taken, even if 0); now compa 828 distance was taken, even if 0); now comparing the distance to the endcap 1477 and to the mantel and decide afterwards w 829 and to the mantel and decide afterwards which distance is shortest; 1478 added check n*v. 830 added check n*v. 1479 o The code is now "good" at 90%. Still 10% 831 o The code is now "good" at 90%. Still 10% wrong reconstructed events. 1480 e.g there is a problem is DistanceToOut() 832 e.g there is a problem is DistanceToOut(): missed the intersection 1481 (reconstruction took the encap instead of 833 (reconstruction took the encap instead of the mantel). 1482 834 1483 09-Dec-2005, O.Link 835 09-Dec-2005, O.Link 1484 - Fixed visibility of soft edges on the twist 836 - Fixed visibility of soft edges on the twisted solids. 1485 837 1486 08-Dec-2005, O.Link (geom-specific-V07-01-14) 838 08-Dec-2005, O.Link (geom-specific-V07-01-14) 1487 - Fixed bug in G4VTwistSurface::ComputeLocalP 839 - Fixed bug in G4VTwistSurface::ComputeLocalPoint(p) for point coordinate 1488 transformation. The bug affected only G4Twi 840 transformation. The bug affected only G4TwistTrapFlatSide. 1489 841 1490 06-Dec-2005, G.Cosmo (geom-specific-V07-01-13 842 06-Dec-2005, G.Cosmo (geom-specific-V07-01-13) 1491 - Fixed compilation errors on WIN32-VC for la 843 - Fixed compilation errors on WIN32-VC for last tag changes. 1492 844 1493 05-Dec-2005, O.Link (geom-specific-V07-01-12) 845 05-Dec-2005, O.Link (geom-specific-V07-01-12) 1494 - Added polyhedron definition for twisted sol 846 - Added polyhedron definition for twisted solids (G4TwistedTrap, 1495 G4TwistedTrd, G4TwistedBox, G4TwistedTubs) 847 G4TwistedTrd, G4TwistedBox, G4TwistedTubs) for visualization. 1496 848 1497 30-Nov-2005, G.Cosmo (geom-specific-V07-01-11 849 30-Nov-2005, G.Cosmo (geom-specific-V07-01-11) 1498 - Trivial fixes for porting on CLHEP-2.0.X se 850 - Trivial fixes for porting on CLHEP-2.0.X series. 1499 851 1500 18-Nov-2005, O.Link (geom-specific-V07-01-10) 852 18-Nov-2005, O.Link (geom-specific-V07-01-10) 1501 - Renamed classes for twisted solids set, to 853 - Renamed classes for twisted solids set, to identify them in the 1502 twisted framework. 854 twisted framework. 1503 855 1504 17-Nov-2005, O.Link 856 17-Nov-2005, O.Link 1505 - G4VTwistedFacted: 857 - G4VTwistedFacted: 1506 o corrected bug in DistanceToSurface() impl 858 o corrected bug in DistanceToSurface() implementation 1507 o added GetPointOnSurface() method 859 o added GetPointOnSurface() method 1508 - G4TwistedTubs: 860 - G4TwistedTubs: 1509 o added GetPointOnSurface() method 861 o added GetPointOnSurface() method 1510 - G4Hype: 862 - G4Hype: 1511 o corrected surface area calculation used i 863 o corrected surface area calculation used in GetPointOnSurface() 1512 << 864 1513 17-Nov-2005, G.Cosmo (geom-specific-V07-01-09 865 17-Nov-2005, G.Cosmo (geom-specific-V07-01-09) 1514 - More fixes required for direct object persi 866 - More fixes required for direct object persistency to G4Polycone, 1515 G4polyhedra and related utility classes. 867 G4polyhedra and related utility classes. 1516 868 1517 10-Nov-2005, J.Allison (geom-specific-V07-01- 869 10-Nov-2005, J.Allison (geom-specific-V07-01-08) 1518 - G4Tet: 870 - G4Tet: 1519 o Added implementation for GetPolyhedron() 871 o Added implementation for GetPolyhedron() and GetCubicVolume(). 1520 o Corrected order of specifying vertices in 872 o Corrected order of specifying vertices in CreatePolyhedron(). 1521 873 1522 09-Nov-2005, G.Cosmo (geom-specific-V07-01-07 874 09-Nov-2005, G.Cosmo (geom-specific-V07-01-07) 1523 - Added fake default constructor for all conc 875 - Added fake default constructor for all concrete solids and relevant 1524 utility classes, for usage of direct object 876 utility classes, for usage of direct object persistency. 1525 - Implemented changes to support CLHEP-2.0.X 877 - Implemented changes to support CLHEP-2.0.X for explicit usage of the 1526 CLHEP/HepGeom namespaces for CLHEP types. 878 CLHEP/HepGeom namespaces for CLHEP types. 1527 879 1528 07-Nov-2005, G.Cosmo (geom-specific-V07-01-06 880 07-Nov-2005, G.Cosmo (geom-specific-V07-01-06) 1529 - G4Ellipsoid: replaced call to hypot(x,y) wi 881 - G4Ellipsoid: replaced call to hypot(x,y) with std::sqrt(x*x+y*y) 1530 for porting to ISO standard. 882 for porting to ISO standard. 1531 883 1532 02-Nov-2005, G.Cosmo (geom-specific-V07-01-05 884 02-Nov-2005, G.Cosmo (geom-specific-V07-01-05) 1533 - G4Polyhedra, G4Polycone: 885 - G4Polyhedra, G4Polycone: 1534 o Protected case of generic construct for v 886 o Protected case of generic construct for visualization. 1535 o Introduced explicit flag and method IsGen 887 o Introduced explicit flag and method IsGeneric() to identify the kind 1536 of constructor used. 888 of constructor used. 1537 889 1538 29-Sep-2005, G.Cosmo (geom-specific-V07-01-04 890 29-Sep-2005, G.Cosmo (geom-specific-V07-01-04) 1539 - Fix in G4EllipticalCone methods DistanceToI 891 - Fix in G4EllipticalCone methods DistanceToIn() and DistanceToOut(). 1540 Added unit test for it (by D.Anninos). 892 Added unit test for it (by D.Anninos). 1541 - Coworks with tag "greps-V07-01-02". 893 - Coworks with tag "greps-V07-01-02". 1542 894 1543 10-Aug-2005, G.Cosmo (geom-specific-V07-01-03 895 10-Aug-2005, G.Cosmo (geom-specific-V07-01-03) 1544 - Introduced new solid G4EllipticalCone, a fu 896 - Introduced new solid G4EllipticalCone, a full cone with elliptical base 1545 that can be cut in Z (by D.Anninos). 897 that can be cut in Z (by D.Anninos). 1546 Coworks with tag "greps-V07-01-02". 898 Coworks with tag "greps-V07-01-02". 1547 899 1548 08-Aug-2005, D.Anninos (geom-specific-V07-01- 900 08-Aug-2005, D.Anninos (geom-specific-V07-01-02) 1549 - Added GetPointOnSurface() for all solids ex 901 - Added GetPointOnSurface() for all solids except twisted ones. 1550 The method returns a random point according 902 The method returns a random point according to a quasi-uniform 1551 distribution along the surface. 903 distribution along the surface. 1552 904 1553 18-Jul-2005, G.Cosmo (geom-specific-V07-01-01 905 18-Jul-2005, G.Cosmo (geom-specific-V07-01-01) 1554 - Fixed compilation warning on WIN32-VC for G 906 - Fixed compilation warning on WIN32-VC for G4VSurface.cc. 1555 - Not including G4Tet. 907 - Not including G4Tet. 1556 908 1557 06-Jul-2005, G.Cosmo (geom-specific-V07-01-00 909 06-Jul-2005, G.Cosmo (geom-specific-V07-01-00) 1558 - Added new shape G4Ellipsoid. Coworks with t 910 - Added new shape G4Ellipsoid. Coworks with tag "greps-V07-01-00". 1559 Contribution of G.Horton-Smith and G.Guerri 911 Contribution of G.Horton-Smith and G.Guerrieri. 1560 Code cleanup, and added default arguments f 912 Code cleanup, and added default arguments for cuts, added first 1561 implementation of unit test. 913 implementation of unit test. 1562 - Corrected unit tests for twisted-box/trap. 914 - Corrected unit tests for twisted-box/trap. 1563 - Not including G4Tet. 915 - Not including G4Tet. 1564 916 1565 15-Jun-2005, J.Apostolakis 917 15-Jun-2005, J.Apostolakis 1566 - Introduced new solid G4Tet, contribution of 918 - Introduced new solid G4Tet, contribution of M.H.Mendenhall 1567 and R.A.Weller, Vanderbilt University, USA. 919 and R.A.Weller, Vanderbilt University, USA. 1568 920 1569 29-Apr-2005, O.Link (geom-specific-V07-00-04) 921 29-Apr-2005, O.Link (geom-specific-V07-00-04) 1570 - G4TwistedSurface: fixed bug in GetAreaCode( 922 - G4TwistedSurface: fixed bug in GetAreaCode() affecting G4TwistedTubs. 1571 923 1572 04-Apr-2005, G.Cosmo (geom-specific-V07-00-03 924 04-Apr-2005, G.Cosmo (geom-specific-V07-00-03) 1573 - Added test for Number-Of-Rotation-Steps in 925 - Added test for Number-Of-Rotation-Steps in GetPolyhedron() for 1574 G4VCSGfaceted, G4Hype and G4EllipticalTube 926 G4VCSGfaceted, G4Hype and G4EllipticalTube (by J.Allison). 1575 Requires tag "greps-V07-00-02". 927 Requires tag "greps-V07-00-02". 1576 - Added elementary implementation of CreatePo 928 - Added elementary implementation of CreatePolyhedron() for G4Hype, 1577 G4TwistedBox, G4TwistedTubs, G4TwistedTrd, 929 G4TwistedBox, G4TwistedTubs, G4TwistedTrd, G4TwistedTrap. 1578 - Some code cleanup. 930 - Some code cleanup. 1579 931 1580 18-Mar-2005, O.Link (geom-specific-V07-00-02) 932 18-Mar-2005, O.Link (geom-specific-V07-00-02) 1581 - New generic framework for twisted solids G4 933 - New generic framework for twisted solids G4TwistedBox, G4TwistedTrd and 1582 G4TwistedTrap: inheriting now from the base 934 G4TwistedTrap: inheriting now from the base class G4VTwistedFaceted. 1583 - Extended G4TwistedTrap to support setups wi 935 - Extended G4TwistedTrap to support setups with different trapezoidal 1584 endcaps with centres not necessarily on a l 936 endcaps with centres not necessarily on a line parallel to the z axis. 1585 - Added G4TwistedTrd and general G4TwistedTra 937 - Added G4TwistedTrd and general G4TwistedTrap as test cases in test. 1586 938 1587 03-Mar-2005, J.Allison 939 03-Mar-2005, J.Allison 1588 - Changed AddThis() to AddSolid() for all sol 940 - Changed AddThis() to AddSolid() for all solids in the implementation 1589 of DescribeYourselfTo(G4VGraphicsScene&). 941 of DescribeYourselfTo(G4VGraphicsScene&). 1590 942 1591 01-Mar-2005, O.Link (geom-specific-V07-00-01) 943 01-Mar-2005, O.Link (geom-specific-V07-00-01) 1592 - Fixed compilation warnings on WIN32-VC for 944 - Fixed compilation warnings on WIN32-VC for G4VSurface.cc. 1593 945 1594 14-Feb-2005, O.Link (geom-specific-V07-00-00) 946 14-Feb-2005, O.Link (geom-specific-V07-00-00) 1595 - Use new polynom approximations based on new 947 - Use new polynom approximations based on new solver based on Jenkins-Traub 1596 algorithm, for twisted-box and twisted-trap 948 algorithm, for twisted-box and twisted-trap. 1597 - Fixed bug in the usage of 'fmod' and adopt 949 - Fixed bug in the usage of 'fmod' and adopt special treatment for 'parallel' 1598 events in G4TwistedBoxSide and G4TwistedTra 950 events in G4TwistedBoxSide and G4TwistedTrapSide. 1599 - Coworks with tag "global-V07-00-00". 951 - Coworks with tag "global-V07-00-00". 1600 952 1601 08-Dec-2004, O.Link (geom-specific-V06-02-07) 953 08-Dec-2004, O.Link (geom-specific-V06-02-07) 1602 - Extensions to twisted box/trap shapes to co 954 - Extensions to twisted box/trap shapes to consider all 4 solutions 1603 for determining correct intersections. 955 for determining correct intersections. 1604 956 1605 29-Nov-2004, O.Link (geom-specific-V06-02-06) 957 29-Nov-2004, O.Link (geom-specific-V06-02-06) 1606 - G4TwistedTrapSide, G4TwistedBoxSide: improv 958 - G4TwistedTrapSide, G4TwistedBoxSide: improved (analytical) version 1607 of GetPhiUAtX() method. 959 of GetPhiUAtX() method. 1608 960 1609 24-Nov-2004, O.Link (geom-specific-V06-02-05) 961 24-Nov-2004, O.Link (geom-specific-V06-02-05) 1610 - Fixed bug in description of twisted trapezo 962 - Fixed bug in description of twisted trapezoid side. 1611 963 1612 12-Nov-2004, O.Link (geom-specific-V06-02-04) 964 12-Nov-2004, O.Link (geom-specific-V06-02-04) 1613 - Added G4TwistedBox - a twisted box with tw 965 - Added G4TwistedBox - a twisted box with twist angle alpha, 1614 length a/2,b/2,L/2. 966 length a/2,b/2,L/2. 1615 - Added G4TwistedTrap - a twisted trapezoid ( 967 - Added G4TwistedTrap - a twisted trapezoid (still in debug state) 1616 - Changed in G4VSurface.icc: << 968 - Changed in G4VSurface.icc: 1617 - GetNeighbours(): corrected axiscode (wa 969 - GetNeighbours(): corrected axiscode (was returning the wrong neighbours) 1618 - SetNeighbours(): fixed problem #685 (in 970 - SetNeighbours(): fixed problem #685 (index out of range) 1619 - Added tests for G4TwistedBox and G4TwistedT 971 - Added tests for G4TwistedBox and G4TwistedTrap in specific/test. 1620 - Added G4TwistedBox and G4TwistedTrap in sys 972 - Added G4TwistedBox and G4TwistedTrap in system testing, test10. 1621 973 1622 22-Oct-2004, D.C.Williams (geom-specific-V06- 974 22-Oct-2004, D.C.Williams (geom-specific-V06-02-03) 1623 - Fix in G4PolyconeSide::Inside for points at 975 - Fix in G4PolyconeSide::Inside for points at radius = 0 for phi slides 1624 solids with an inner radius. Addresses prob 976 solids with an inner radius. Addresses problem report #598. 1625 977 1626 10-Oct-2004, J.Allison (geom-specific-V06-02- 978 10-Oct-2004, J.Allison (geom-specific-V06-02-02) 1627 - Added GetPolyhedron, a smart access functio 979 - Added GetPolyhedron, a smart access function that creates a G4Polyhedron 1628 on request and stores for future access. A 980 on request and stores for future access. A null pointer means "not 1629 available". 981 available". 1630 982 1631 22-Sep-2004, G.Cosmo (geom-specific-V06-02-01 983 22-Sep-2004, G.Cosmo (geom-specific-V06-02-01) 1632 - Added implementation of GetCubicVolume() wi 984 - Added implementation of GetCubicVolume() with cashing mechanism for 1633 solids: G4EllipticalTube, G4Hype, G4Polyhed 985 solids: G4EllipticalTube, G4Hype, G4Polyhedra, G4Polycone, G4TwistedTubs. 1634 986 1635 01-Sep-2004, D.C.Williams (geom-specific-V06- 987 01-Sep-2004, D.C.Williams (geom-specific-V06-02-00) 1636 - G4VCSGfaceted: fix for rare anomalous situa 988 - G4VCSGfaceted: fix for rare anomalous situation in which 1637 DistanceToOut(p,v,..) will report kInfinity 989 DistanceToOut(p,v,..) will report kInfinity, make an additional check 1638 for the point p on the surface, in which ca 990 for the point p on the surface, in which case will report zero. 1639 Addresses problem observed in G4Polyhedra a 991 Addresses problem observed in G4Polyhedra and reported in #650. 1640 992 1641 07-Jun-2004, G.Cosmo (geom-specific-V06-01-04 993 07-Jun-2004, G.Cosmo (geom-specific-V06-01-04) 1642 - Fixed compilation problem in G4TwistedSurfa 994 - Fixed compilation problem in G4TwistedSurface.cc on WIN32-VC. 1643 995 1644 28-May-2004, G.Cosmo (geom-specific-V06-01-03 996 28-May-2004, G.Cosmo (geom-specific-V06-01-03) 1645 - Fixed archiving problem on WIN32-VC7: repla 997 - Fixed archiving problem on WIN32-VC7: replaced structs with classes 1646 in G4VSurface. 998 in G4VSurface. 1647 - Replaced misleading names for masks in G4VS 999 - Replaced misleading names for masks in G4VSurface and moved inlined 1648 methods of nested classes to .cc. 1000 methods of nested classes to .cc. 1649 1001 1650 25-May-2004, G.Cosmo (geom-specific-V06-01-02 1002 25-May-2004, G.Cosmo (geom-specific-V06-01-02) 1651 - Fixed compilation problem on SUN-CC. Made E 1003 - Fixed compilation problem on SUN-CC. Made EValidate enum public in 1652 G4VSurface.hh. 1004 G4VSurface.hh. 1653 1005 1654 24-May-2004, G.Cosmo (geom-specific-V06-01-01 1006 24-May-2004, G.Cosmo (geom-specific-V06-01-01) 1655 - Removed compilation warnings and minor clea 1007 - Removed compilation warnings and minor cleanup... 1656 1008 1657 19-May-2004, O.Link (geom-specific-V06-01-00) 1009 19-May-2004, O.Link (geom-specific-V06-01-00) 1658 - First implementation of a framework for twi 1010 - First implementation of a framework for twisted surfaces, integrated from 1659 the original version of Kotoyo Hoshina (hos 1011 the original version of Kotoyo Hoshina (hoshina@hepburn.s.chiba-u.ac.jp) 1660 implemented in the 'Jupiter' application. 1012 implemented in the 'Jupiter' application. 1661 o Includes new specific twisted shape: G4Tw 1013 o Includes new specific twisted shape: G4TwistedTubs. 1662 o New classes: G4VSurface, G4TwistedSurface 1014 o New classes: G4VSurface, G4TwistedSurface, G4HyperbolicSurface, 1663 G4FlatSurface, G4TwistedTubs 1015 G4FlatSurface, G4TwistedTubs. 1664 o Cleanup of original code (debugging messa 1016 o Cleanup of original code (debugging messages, compiler errors, migration 1665 of g4std to new convention...) 1017 of g4std to new convention...) 1666 o New organisation of class G4TwistedTubs: 1018 o New organisation of class G4TwistedTubs: now independent of XXXSurface; 1667 removed backpointer 'fSolid' from XXXSurf 1019 removed backpointer 'fSolid' from XXXSurface to G4TwistedTubs. 1668 o New form of constructors in G4TwistedSurf 1020 o New form of constructors in G4TwistedSurface, G4HyperbolicSurface and 1669 G4FlatSurface. 1021 G4FlatSurface. 1670 o Change in G4TwistedSurface::DistanceToIn( 1022 o Change in G4TwistedSurface::DistanceToIn(p,v,...): roundoff correction. 1671 1023 1672 12-Jan-2004, G.Cosmo (geom-specific-V06-00-00 1024 12-Jan-2004, G.Cosmo (geom-specific-V06-00-00) 1673 - G4PolyhedraSide.cc: fixed bug in which part 1025 - G4PolyhedraSide.cc: fixed bug in which particles could "leak" out the 1674 center of a face if inner radius = 0. 1026 center of a face if inner radius = 0. 1675 Fixes problem report #547. (D.Williams) 1027 Fixes problem report #547. (D.Williams) 1676 1028 1677 22-Nov-2003, G.Cosmo (geom-specific-V05-02-07 1029 22-Nov-2003, G.Cosmo (geom-specific-V05-02-07) 1678 - Fixed upper bound for protection check intr 1030 - Fixed upper bound for protection check introduced in G4Polycone and 1679 G4Polyhedra constructors. 1031 G4Polyhedra constructors. 1680 1032 1681 17-Nov-2003, G.Cosmo (geom-specific-V05-02-06 1033 17-Nov-2003, G.Cosmo (geom-specific-V05-02-06) 1682 - Added protections in G4Polycone and G4Polyh 1034 - Added protections in G4Polycone and G4Polyhedra constructors for 1683 invalid constructs with no contiguous segme 1035 invalid constructs with no contiguous segments in Z planes as input. 1684 1036 1685 04-Nov-2003, G.Cosmo (geom-specific-V05-02-05 1037 04-Nov-2003, G.Cosmo (geom-specific-V05-02-05) 1686 - Added SetOriginalParameters() method to G4P 1038 - Added SetOriginalParameters() method to G4Polycone and G4Polyhedra. 1687 1039 1688 03-Nov-2003, G.Cosmo (geom-specific-V05-02-04 1040 03-Nov-2003, G.Cosmo (geom-specific-V05-02-04) 1689 - Code cleanup and headers inclusion review 1041 - Code cleanup and headers inclusion review 1690 (replaced by forward declarations where nec 1042 (replaced by forward declarations where necessary). 1691 1043 1692 28-Oct-2003, G.Cosmo (geom-specific-V05-02-03 1044 28-Oct-2003, G.Cosmo (geom-specific-V05-02-03) 1693 - Migrated to new G4Exception scheme. 1045 - Migrated to new G4Exception scheme. 1694 1046 1695 20-Oct-2003, G.Cosmo (geom-specific-V05-02-02 1047 20-Oct-2003, G.Cosmo (geom-specific-V05-02-02) 1696 - Added Reset() method in G4Polycone and G4Po 1048 - Added Reset() method in G4Polycone and G4Polyhedra to allow 1697 recalculation and reshape of the solid if n 1049 recalculation and reshape of the solid if new original_parameters 1698 are provided. 1050 are provided. 1699 1051 1700 30-Sep-2003, G.Cosmo (geom-specific-V05-02-01 1052 30-Sep-2003, G.Cosmo (geom-specific-V05-02-01) 1701 - Updated GNUmakefile for unit tests, accordi 1053 - Updated GNUmakefile for unit tests, according to new structure 1702 introduced in "geometry-V05-02-00". 1054 introduced in "geometry-V05-02-00". 1703 1055 1704 16-Jun-2003, G.Cosmo (geom-specific-V05-02-00 1056 16-Jun-2003, G.Cosmo (geom-specific-V05-02-00) 1705 - Added accessors to original_parameters for 1057 - Added accessors to original_parameters for G4Polycone and G4Polyhedra. 1706 Made G4PolyconeHistorical and G4PolyhedraHi 1058 Made G4PolyconeHistorical and G4PolyhedraHistorical classes in global 1707 scope (temporary solution). 1059 scope (temporary solution). 1708 1060 1709 28-Mar-2003, G.Cosmo (geom-specific-V05-00-00 1061 28-Mar-2003, G.Cosmo (geom-specific-V05-00-00) 1710 - Fixed initialisation of base class in copy 1062 - Fixed initialisation of base class in copy contructor for: 1711 G4PolyPhiFace, G4PolyconeSide, G4PolyhedraS 1063 G4PolyPhiFace, G4PolyconeSide, G4PolyhedraSide. 1712 - Fixed trivial pedantic warnings on G4Polyco 1064 - Fixed trivial pedantic warnings on G4Polycone and G4Polyhedra. 1713 1065 1714 30-Oct-2002, G.Cosmo (geom-specific-V04-01-01 1066 30-Oct-2002, G.Cosmo (geom-specific-V04-01-01) 1715 - Fixed un-initialised data members in constr 1067 - Fixed un-initialised data members in constructors of classes: 1716 G4ClippablePolygon, G4EnclosingCylinder, G4 1068 G4ClippablePolygon, G4EnclosingCylinder, G4PolyconeSide, 1717 G4ReduciblePolygon, G4VCSGfaceted. 1069 G4ReduciblePolygon, G4VCSGfaceted. 1718 1070 1719 28-Oct-2002, G.Cosmo (geom-specific-V04-01-00 1071 28-Oct-2002, G.Cosmo (geom-specific-V04-01-00) 1720 - Added implementation of StreamInfo() to com 1072 - Added implementation of StreamInfo() to comply with new interface for 1721 G4VSolid in "geommng-V04-01-03". 1073 G4VSolid in "geommng-V04-01-03". 1722 - Created .icc files for G4EllipticalTube, G4 1074 - Created .icc files for G4EllipticalTube, G4Polyhedra and G4Polycone. 1723 - Some cosmetic changes to code formatting: r 1075 - Some cosmetic changes to code formatting: removed <TAB> characters and adopt 1724 uniform code indentation. 1076 uniform code indentation. 1725 1077 1726 08-May-2002, J.Allison (geom-solids-specific- 1078 08-May-2002, J.Allison (geom-solids-specific-V04-00-01) 1727 - Implemented G4EllipticalTube::CreatePolyhed 1079 - Implemented G4EllipticalTube::CreatePolyhedron. 1728 1080 1729 10-Jan-2002, G.Cosmo (geom-solids-specific-V0 1081 10-Jan-2002, G.Cosmo (geom-solids-specific-V04-00-00) 1730 - Updated unit tests. 1082 - Updated unit tests. 1731 1083 1732 20-Apr-2001, G.Cosmo (geom-solids-specific-V0 1084 20-Apr-2001, G.Cosmo (geom-solids-specific-V03-01-00) 1733 - Migration to STL vector: 1085 - Migration to STL vector: 1734 o In G4ClippablePolygon, migrated G4ThreeVe 1086 o In G4ClippablePolygon, migrated G4ThreeVectorList typedef and 1735 made private to class. 1087 made private to class. 1736 << 1088 1737 03-Apr-2001, D.Williams (geom-solids-specifi 1089 03-Apr-2001, D.Williams (geom-solids-specific-V03-00-01) 1738 ----------------------- 1090 ----------------------- 1739 - G4IntersectingCone.cc: make small adjustmen 1091 - G4IntersectingCone.cc: make small adjustment to help with roundoff error 1740 in LineHitsCone1() and LineHitsCone2(). 1092 in LineHitsCone1() and LineHitsCone2(). 1741 1093 1742 08-Jan-2001, D.Williams (geom-solids-specifi 1094 08-Jan-2001, D.Williams (geom-solids-specific-V03-00-00) 1743 ----------------------- 1095 ----------------------- 1744 - G4Hype.cc: Added protecton against zero v.z 1096 - G4Hype.cc: Added protecton against zero v.z in DistanceToOut. 1745 1097 1746 20-Nov-2000, G.Cosmo (geom-solids-specifi 1098 20-Nov-2000, G.Cosmo (geom-solids-specific-V02-00-04) 1747 --------------------- 1099 --------------------- 1748 - Fixes to remove warnings from "-Wall -ansi 1100 - Fixes to remove warnings from "-Wall -ansi -pedantic" g++ compiler options: 1749 o commented out variables declared and not 1101 o commented out variables declared and not used. 1750 o fixed declaration of variables used befor 1102 o fixed declaration of variables used before being initialised. 1751 o fixed order of initialisation of member d 1103 o fixed order of initialisation of member data in constructors. 1752 o fixed usage of unsigned-int (size_t) for 1104 o fixed usage of unsigned-int (size_t) for array indeces. 1753 1105 1754 13-Nov-2000, G.Cosmo (geom-solids-specifi 1106 13-Nov-2000, G.Cosmo (geom-solids-specific-V02-00-03) 1755 -------------------- 1107 -------------------- 1756 - Added definition of empty constructor for G 1108 - Added definition of empty constructor for G4ClippablePolygon which 1757 went lost by mistake... 1109 went lost by mistake... 1758 1110 1759 02-Nov-2000, G.Cosmo (geom-solids-specifi 1111 02-Nov-2000, G.Cosmo (geom-solids-specific-V02-00-02) 1760 -------------------- 1112 -------------------- 1761 - QA code revision and cleanup (+fixes from C 1113 - QA code revision and cleanup (+fixes from CodeWizard filtering): 1762 o Avoid inline virtual methods. 1114 o Avoid inline virtual methods. 1763 o General cosmetics for Software Reference 1115 o General cosmetics for Software Reference Manual. 1764 1116 1765 23-Oct-2000, D.Williams (geom-solids-specifi 1117 23-Oct-2000, D.Williams (geom-solids-specific-V02-00-01) 1766 ----------------------- 1118 ----------------------- 1767 - G4IntersectingCone.cc: the check for a zero 1119 - G4IntersectingCone.cc: the check for a zero radical has been adjusted to be 1768 less sensitive to round off error in LineHi 1120 less sensitive to round off error in LineHitsCone1(), LineHitsCone2(). 1769 This fixes a problem discovered in BaBar. 1121 This fixes a problem discovered in BaBar. 1770 1122 1771 12-Sep-2000, G.Cosmo (geom-solids-specific-V 1123 12-Sep-2000, G.Cosmo (geom-solids-specific-V02-00-00) 1772 -------------------- 1124 -------------------- 1773 - Organised comments to headers for Software 1125 - Organised comments to headers for Software Reference Manual. 1774 1126 1775 27-Jun-2000, G.Cosmo (geom-solids-specific-V 1127 27-Jun-2000, G.Cosmo (geom-solids-specific-V01-01-02) 1776 -------------------- 1128 -------------------- 1777 - G4Polycone[.hh.cc]: better fix for bug-repo 1129 - G4Polycone[.hh.cc]: better fix for bug-report #110. 1778 Removed struct and replaced with class. 1130 Removed struct and replaced with class. 1779 1131 1780 26-Jun-2000, G.Cosmo (geom-solids-specific-V 1132 26-Jun-2000, G.Cosmo (geom-solids-specific-V01-01-01) 1781 -------------------- 1133 -------------------- 1782 - G4Polycone.cc: fixed memory leak by invokin 1134 - G4Polycone.cc: fixed memory leak by invoking destruction of member 1783 enclosingCylinder, which was not cleaned up 1135 enclosingCylinder, which was not cleaned up in the destructor. 1784 This fixes problem report #107. 1136 This fixes problem report #107. 1785 - G4Polycone.hh: added forward declaration of 1137 - G4Polycone.hh: added forward declaration of struct G4PolyconeHistorical 1786 and made it friend, for porting on KCC --st 1138 and made it friend, for porting on KCC --strict. This fixes report #110. 1787 - G4Polyhedra.hh: fixed typo in method name. 1139 - G4Polyhedra.hh: fixed typo in method name. Changed GetNumSIde() to 1788 GetNumSide(). This fixes problem report #10 1140 GetNumSide(). This fixes problem report #105. 1789 1141 1790 08-Jun-2000, G.Gracia 1142 08-Jun-2000, G.Gracia 1791 --------------------- 1143 --------------------- 1792 - G4VCSGfaceted.cc: fix for Win/NT in functio 1144 - G4VCSGfaceted.cc: fix for Win/NT in function GetExtent(). 1793 1145 1794 27-Apr-2000, G.Cosmo 1146 27-Apr-2000, G.Cosmo 1795 -------------------- 1147 -------------------- 1796 - Removed dependency over the CSG domain in G 1148 - Removed dependency over the CSG domain in GNUmakefile. 1797 1149 1798 18-Apr-2000, D.Williams 1150 18-Apr-2000, D.Williams 1799 ----------------------- 1151 ----------------------- 1800 - Removed meaningless "const" specifiers from 1152 - Removed meaningless "const" specifiers from methods in G4ClippablePolygon, 1801 and G4EllipticalTube. 1153 and G4EllipticalTube. 1802 - G4EllipticalTube, G4Hype and G4VCSGfaceted 1154 - G4EllipticalTube, G4Hype and G4VCSGfaceted now inherit directly 1803 from G4VSolid (before was G4CSGSolid). 1155 from G4VSolid (before was G4CSGSolid). 1804 - Reintroduced GetExtent() in G4EllipticalTub 1156 - Reintroduced GetExtent() in G4EllipticalTube, G4Hype and G4VCSGfaceted 1805 (in principle, not needed). 1157 (in principle, not needed). 1806 - Modified assertations in unit test testG4Hy 1158 - Modified assertations in unit test testG4Hype.cc. 1807 1159 1808 11-Apr-2000, J.Allison 1160 11-Apr-2000, J.Allison 1809 ---------------------- 1161 ---------------------- 1810 - Removed implementations of GetExtent in mos 1162 - Removed implementations of GetExtent in most sub-classes of G4VSolid (a 1811 default implementation exists in G4VSolid). 1163 default implementation exists in G4VSolid). 1812 - All implementations of DescribeYourselfTo ( 1164 - All implementations of DescribeYourselfTo (G4VGraphicsScene& scene) const 1813 now correctly written: scene.AddThis(*this) 1165 now correctly written: scene.AddThis(*this). 1814 1166 1815 05-Apr-2000, G.Cosmo (geom-solids-specific- 1167 05-Apr-2000, G.Cosmo (geom-solids-specific-V01-01-00) 1816 -------------------- 1168 -------------------- 1817 - Restructured solids/CSG domain, by moving t 1169 - Restructured solids/CSG domain, by moving to "specific" the following 1818 classes: G4ClippablePolygon, G4EnclosingCyl 1170 classes: G4ClippablePolygon, G4EnclosingCylinder, G4Hype, G4PolyPhiFace, 1819 G4Polycone, G4PolyconeSide, G4Polyhedra, G4 1171 G4Polycone, G4PolyconeSide, G4Polyhedra, G4PolyhedraSide, G4ReduciblePolygon, 1820 G4IntersectingCone, G4SolidExtentList, G4VC 1172 G4IntersectingCone, G4SolidExtentList, G4VCSGface, G4VCSGfaceted. 1821 The new module's library for "specific" is 1173 The new module's library for "specific" is now called 'G4specsolids'. 1822 - Created specific/test directory and moved t 1174 - Created specific/test directory and moved testG4Hype.cc and testG4Polycone,cc 1823 from CSG/test. 1175 from CSG/test. 1824 - Organised class description comments for th 1176 - Organised class description comments for the Software Reference Manual 1825 and added CVS headers to files. 1177 and added CVS headers to files. 1826 1178 1827 29-Mar-2000, D.Williams 1179 29-Mar-2000, D.Williams 1828 ----------------------- 1180 ----------------------- 1829 - Added first implementation of G4EllipticalT 1181 - Added first implementation of G4EllipticalTube. 1830 It defines a simple elliptical tube, as in 1182 It defines a simple elliptical tube, as in geant3 "ELTU". 1831 Files introduced: G4EllipticalTube[.hh.cc]. 1183 Files introduced: G4EllipticalTube[.hh.cc]. 1832 1184 1833 25-Mar-2000, G.Cosmo 1185 25-Mar-2000, G.Cosmo 1834 -------------------- 1186 -------------------- 1835 - History file created. 1187 - History file created.