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