| 1 | $Id: History,v 1.68.2.1 2008/04/23 08:59:37 gcosmo Exp $
|
|---|
| 2 | ----------------------------------------------------------------------------
|
|---|
| 3 |
|
|---|
| 4 | =========================================================
|
|---|
| 5 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP
|
|---|
| 6 | =========================================================
|
|---|
| 7 |
|
|---|
| 8 | History file for geometry/solids/BREPS
|
|---|
| 9 | --------------------------------------
|
|---|
| 10 | This file should be used by G4 developers and category coordinators
|
|---|
| 11 | to briefly summarize all major modifications introduced in the code
|
|---|
| 12 | and keep track of all category-tags.
|
|---|
| 13 | It DOES NOT substitute the CVS log-message one should put at every
|
|---|
| 14 | committal in the CVS repository !
|
|---|
| 15 |
|
|---|
| 16 | ----------------------------------------------------------
|
|---|
| 17 | * Reverse chronological order (last date on top), please *
|
|---|
| 18 | ----------------------------------------------------------
|
|---|
| 19 |
|
|---|
| 20 | 23/04/2008 : G. Cosmo breps-V09-00-01
|
|---|
| 21 | - Tag for release 9.1.p02.
|
|---|
| 22 |
|
|---|
| 23 | 13/03/2008 : G. Cosmo breps-V09-01-01
|
|---|
| 24 | - Cleared compilation warnings on gcc-4.3.0 for ambiguous use of parentheses
|
|---|
| 25 | in condition statements, if-else constructs and empty for-loops.
|
|---|
| 26 |
|
|---|
| 27 | 22/01/2008 : T. Nikitina breps-V09-01-00
|
|---|
| 28 | - Fixed bug in G4BREPSolidPolyhedra::DistanceToOut() for cases of particle
|
|---|
| 29 | passing the border of two touching surfaces.
|
|---|
| 30 | - G4BREPSolidBox: fixed problem in the constructor in definition of the
|
|---|
| 31 | side for the normal to surface.
|
|---|
| 32 |
|
|---|
| 33 | 16/07/2007 : G. Cosmo breps-V09-00-00
|
|---|
| 34 | - Added missing initialisations of kCarTolerance in alternative constructors
|
|---|
| 35 | for G4BoundingBox3D, G4Curve, G4CurveRayIntersection, G4KnotVector.
|
|---|
| 36 | Addressing problem report #959.
|
|---|
| 37 |
|
|---|
| 38 | 18/05/2007 : G. Cosmo breps-V08-03-01
|
|---|
| 39 | - Use kAngTolerance and kRadTolerance from G4GeometryTolerance class.
|
|---|
| 40 | - Coworks with tag "global-V08-03-03".
|
|---|
| 41 |
|
|---|
| 42 | 11/05/2007 : G. Cosmo breps-V08-03-00
|
|---|
| 43 | - Use call to G4GeometryTolerance instead of kCarTolerance where needed.
|
|---|
| 44 | - Requires tag "global-V08-03-00" and related tag set.
|
|---|
| 45 |
|
|---|
| 46 | 19/10/2006 : G. Cosmo breps-V08-01-00
|
|---|
| 47 | - Added GetSurfaceArea() method, accessors and modifiers to base class
|
|---|
| 48 | G4BREPSolid, implementing the caching mechanism as for volumes.
|
|---|
| 49 |
|
|---|
| 50 | 21/12/2005 : G. Cosmo breps-V08-00-00
|
|---|
| 51 | - Use explicit 'HepGeom' namespace for 'Identity', to allow for porting
|
|---|
| 52 | on Windows/VC++ when using CLHEP-2.0.X.
|
|---|
| 53 |
|
|---|
| 54 | 09/11/2005 : G. Cosmo breps-V07-01-01
|
|---|
| 55 | - Added fake default constructor for concrete solids and G4BREPSolid,
|
|---|
| 56 | for usage of direct object persistency.
|
|---|
| 57 | - Implemented changes to support CLHEP-2.0.X for explicit usage of the
|
|---|
| 58 | CLHEP/HepGeom namespaces for CLHEP types.
|
|---|
| 59 | - Implemented migration to <sstream> for affected classes:
|
|---|
| 60 | G4BREPSolidPCone and G4BREPSolidPolyhedra.
|
|---|
| 61 |
|
|---|
| 62 | 02/08/2005 : O. Link breps-V07-01-00
|
|---|
| 63 | - Fixed problem of double-deletion in G4BREPSolidPolyhedra and
|
|---|
| 64 | G4BREPSolidPCone destructors.
|
|---|
| 65 |
|
|---|
| 66 | 23/03/2005 : J. Allison breps-V07-00-01
|
|---|
| 67 | - Added test for Number-Of-Rotation-Steps in G4BREPSolid::GetPolyhedron().
|
|---|
| 68 | Requires tag "greps-V07-00-02".
|
|---|
| 69 |
|
|---|
| 70 | 03/03/2005 : J. Allison breps-V07-00-00
|
|---|
| 71 | - Changed AddThis() with AddSolid() for all solids in DescribeYourselfTo()
|
|---|
| 72 | implementation for G4BREPSolid and G4BREPSolidOpenPCone.
|
|---|
| 73 |
|
|---|
| 74 | 10/10/2004 : J. Allison breps-V06-02-02
|
|---|
| 75 | - Added GetPolyhedron, a smart access function that creates a G4Polyhedron
|
|---|
| 76 | on request and stores for future access. A null pointer means "not
|
|---|
| 77 | available".
|
|---|
| 78 |
|
|---|
| 79 | 22/09/2004 : V. Grichine breps-V06-02-01
|
|---|
| 80 | - G4BREPSolid[.hh.icc.cc]: added specific implementation for GetCubicVolume()
|
|---|
| 81 | to cache the computed value.
|
|---|
| 82 |
|
|---|
| 83 | 02/07/2004 : G. Cosmo breps-V06-02-00
|
|---|
| 84 | - G4BREPSolidPolyhedra.cc, G4BREPSolidPCone.cc:
|
|---|
| 85 | o Use squared-half-tolerance for handling with surface distances instead
|
|---|
| 86 | of 0.5*kCarTolerance, in Inside(p), SurfaceNormal(p), DistanceToIn(p,v),
|
|---|
| 87 | DistanceToOut(p,v,...).
|
|---|
| 88 | o Implemented SurfaceNormal(p) to follow specifications for G4VSolid,
|
|---|
| 89 | i.e. return the normal to the closest surface if the point is not on
|
|---|
| 90 | boundary.
|
|---|
| 91 | o Some code cleanup ...
|
|---|
| 92 | - G4BREPSolid.cc:
|
|---|
| 93 | o Use squared-half-tolerance for handling with surface distances instead
|
|---|
| 94 | of 0.5*kCarTolerance, in Inside(p), SurfaceNormal(p), DistanceToIn(p,v),
|
|---|
| 95 | DistanceToOut(p,v,...), Intersert(r), FinalEvaluation(r,i).
|
|---|
| 96 | o Some code cleanup ...
|
|---|
| 97 |
|
|---|
| 98 | 28/10/2003 : G. Cosmo breps-V05-02-01
|
|---|
| 99 | - Migrated to use new G4Exception scheme.
|
|---|
| 100 |
|
|---|
| 101 | 30/09/2003 : G. Cosmo breps-V05-02-00
|
|---|
| 102 | - Archived unit tests for STEP.
|
|---|
| 103 |
|
|---|
| 104 | 04/06/2003 : G. Cosmo breps-V05-01-01
|
|---|
| 105 | - Fixes for inclusion of <strstream> in G4BREPSolidPCone.cc in view
|
|---|
| 106 | of the g4std wrappers migration.
|
|---|
| 107 |
|
|---|
| 108 | 21/05/2003 : G. Cosmo breps-V05-01-00
|
|---|
| 109 | - G4BREPSolidPCone.cc: commented out verbose-mode in SurfaceNormal().
|
|---|
| 110 | Temporary solution to problem reports #425, #431 and #474.
|
|---|
| 111 |
|
|---|
| 112 | 28/03/2003 : G. Cosmo breps-V05-00-00
|
|---|
| 113 | - Fixed strict pedantic warnings and updated unit tests.
|
|---|
| 114 |
|
|---|
| 115 | 03/12/2002 : G. Cosmo breps-V04-01-04
|
|---|
| 116 | - Fix to concrete BREPS for porting code on Windows: explicitely name the
|
|---|
| 117 | internal struct type holding the solid parameters.
|
|---|
| 118 |
|
|---|
| 119 | 21/11/2002 : G. Cosmo breps-V04-01-03
|
|---|
| 120 | - G4Ray[.hh.icc.cc], G4Surface[.hh.icc.cc]: made static inline methods not
|
|---|
| 121 | inlined to allow porting on Windows DLLs.
|
|---|
| 122 |
|
|---|
| 123 | 07/11/2002 : R. Chytracek breps-V04-01-02
|
|---|
| 124 | - All BREP solids + G4PlacedSolids now implement virtual StreamInfo(...) method
|
|---|
| 125 | end properly expose their construction parameters via this interface to an
|
|---|
| 126 | std::ostream instance.
|
|---|
| 127 |
|
|---|
| 128 | 28/10/2002 : G. Cosmo breps-V04-01-01
|
|---|
| 129 | - G4BREPSolid[.hh.cc]: added implementation of StreamInfo() to comply with ne interface
|
|---|
| 130 | for G4VSolid in "geommng-V04-01-03".
|
|---|
| 131 |
|
|---|
| 132 | 16/10/2002 : R. Chytracek breps-V04-01-00
|
|---|
| 133 | - G4BREPSolidPCone.cc: fixed creation of begin & end planar surfaces in the case where
|
|---|
| 134 | [RMIN[0] == 0.0 && RMAX[0] > 0.0] and/or [RMIN[sections] == 0.0 && RMAX[sections] > 0.0].
|
|---|
| 135 | Fixes problem report #419.
|
|---|
| 136 |
|
|---|
| 137 | 19/04/2002 : R. Chytracek breps-V04-00-05
|
|---|
| 138 | - G4BREPSolidPCone.cc: added sanity check of delta phi section value and
|
|---|
| 139 | exception is thrown saying about this unsupported feature if delta phi
|
|---|
| 140 | is less than 2*PI.
|
|---|
| 141 |
|
|---|
| 142 | 26/02/2002 : G. Cosmo breps-V04-00-04
|
|---|
| 143 | - G4ConvexHull.hh: moved initialisation of 'next' to constructor's body.
|
|---|
| 144 |
|
|---|
| 145 | 14/02/2002 : R. Chytracek breps-V04-00-03
|
|---|
| 146 | - G4BREPSolidPolyhedra.cc: final commit after series of bug fixes and enhancements:
|
|---|
| 147 | o Added more preconditions checks
|
|---|
| 148 | o Added code forbidding "teeth" in polyhedra as it brings
|
|---|
| 149 | high complexity into its implementation
|
|---|
| 150 | o Fixing comments, removal of debug print-outs
|
|---|
| 151 |
|
|---|
| 152 | 13/02/2002 : R. Chytracek breps-V04-00-02
|
|---|
| 153 | - Bug fix #354, G4BREPSolidPolyhedra:
|
|---|
| 154 | o Added new private method for creation of planar surfaces gained
|
|---|
| 155 | after code refactoring in constructor.
|
|---|
| 156 | o Fixed bug for problem report #354 by adding the code handling the cases
|
|---|
| 157 | where user supplies for the same z-section different RMIN or RMAX values.
|
|---|
| 158 | o This is temporary commit as there is still the problem when user asks for
|
|---|
| 159 | polyhedra phi segment and z[a] > z[a+1]. This leads to a wrong surface.
|
|---|
| 160 |
|
|---|
| 161 | 12/02/2002 : R. Chytracek
|
|---|
| 162 | - Bug fixes of G4BREPSolidPolyhedra:
|
|---|
| 163 | o Added enhancement allowing to define RMIN and RMAX to be zero with the
|
|---|
| 164 | exception of forbidden two consecutive zero RMAX values.
|
|---|
| 165 | o Refactoring in constructor gained two new private methods for creation of
|
|---|
| 166 | trapezoidal and triangular side planes of G4BREPSolidPolyhedra.
|
|---|
| 167 | o Rewritten code for delta phi >= 2*PI case with full classification of
|
|---|
| 168 | possible cases.
|
|---|
| 169 | o Fixed sense of end planes.
|
|---|
| 170 | o Fixed delta phi < 2*PI case where some old code remained after bug fix #266.
|
|---|
| 171 |
|
|---|
| 172 | 28/01/2002 : R. Chytracek breps-V04-00-01
|
|---|
| 173 | - G4BREPSolidPCone::Inside() method restored back due to the fixes
|
|---|
| 174 | in G4FPlane + fixes in constructor and ComputePlanarSurface helper
|
|---|
| 175 | method.
|
|---|
| 176 | - Fixed first constructor of G4FPlane which now takes another argument
|
|---|
| 177 | for setting explicitly the sense of a surface if required.
|
|---|
| 178 | - Fixed G4FPlane::Intersect() method which incorrectly ignored a special
|
|---|
| 179 | case of a hit on surface point with ray direction opposite to surface
|
|---|
| 180 | normal.
|
|---|
| 181 |
|
|---|
| 182 | 22/01/2002 : R. Chytracek
|
|---|
| 183 | - Temporary fix of Inside() method in BREPSolidPCone.
|
|---|
| 184 | - Updated BREPSolidPCone unit test.
|
|---|
| 185 |
|
|---|
| 186 | 16/01/2001 : R. Chytracek breps-V04-00-00
|
|---|
| 187 | - G4BREPSolidPCone: bugfix for problem report #320.
|
|---|
| 188 | o Fixed missing use-case in constructor when RMAX and RMIN have been
|
|---|
| 189 | changed for 2 consecutive equal z-values. Now it creates correctly
|
|---|
| 190 | 2 planar surfaces as expected.
|
|---|
| 191 | o Along with that added private method ComputePlanarSurface() gained
|
|---|
| 192 | by refactoring of some part of the code in the constructor.
|
|---|
| 193 | o Added useful comments analysing problems with planar surfaces and
|
|---|
| 194 | showing possible use-cases + some cosmetics.
|
|---|
| 195 |
|
|---|
| 196 | 01/08/2001 : R. Chytracek breps-V03-02-03
|
|---|
| 197 | - G4BREPSolidPolyhedra.cc: fixed situation when phi1 = 0 dphi1 = 2*pi and
|
|---|
| 198 | all RMINs = 0.0. In this case the inner planes are not created.
|
|---|
| 199 | More than 2 z-planes and inner planes are not created whenever two
|
|---|
| 200 | consecutive RMINs are = 0.0.
|
|---|
| 201 | Fixes problem report #266.
|
|---|
| 202 |
|
|---|
| 203 | 20/07/2001 : G. Cosmo breps-V03-02-02
|
|---|
| 204 | - Still fixed for ambiguous use of casts for G4Point3D, G4ThreeVector
|
|---|
| 205 | and G4Vector3D types. Fixed compilation warnings detected with gcc-2.95-3.
|
|---|
| 206 | Modified files: G4Axis2Placement3D.icc, G4BREPSolid.cc, G4BREPSolidBox.cc,
|
|---|
| 207 | G4BREPSolidPCone.cc, G4BREPSolidPolyhedra.cc
|
|---|
| 208 |
|
|---|
| 209 | 17/07/2001 : G. Cosmo breps-V03-02-01
|
|---|
| 210 | - Fix in G4BSplineCurve::Init() for initialisation of point vector. Replaced
|
|---|
| 211 | usage of 'reserve' with explicit initialisation of components in collection.
|
|---|
| 212 |
|
|---|
| 213 | 11/07/2001 : G. Cosmo breps-V03-02-00
|
|---|
| 214 | - Fixes for overloading ambiguity on SUN-CC with new CLHEP-1.7, files:
|
|---|
| 215 | G4BREPSolidPolyhedra.cc, G4BREPSolidPCone.cc, G4BREPSolidCylinder.cc
|
|---|
| 216 | and G4BREPSolidCone.cc.
|
|---|
| 217 | - Synchronized with HEAD.
|
|---|
| 218 |
|
|---|
| 219 | 15/06/2001 : G. Cosmo breps-V03-01-02
|
|---|
| 220 | - Fixes to allow -ansi compilation on Linux-g++, gcc-2.95-2 compiler:
|
|---|
| 221 | o G4Ray.cc: changed usage of hypot(x,y) to sqrt(x*x+y*y).
|
|---|
| 222 | o G4Hyperbola[.icc.cc]: changed usage of atanh(x) to 0.5*log((1+x)/(1-x)).
|
|---|
| 223 | - G4ProjectedSurface.cc: corrected initialisation of temporary G4Point3D
|
|---|
| 224 | objects, to use the correct CLHEP constructor.
|
|---|
| 225 |
|
|---|
| 226 | 27/04/2001 : G. Cosmo breps-V03-01-01
|
|---|
| 227 | - G4BSplineCurve.cc: fixed compilation warnings on HP-UX, concerning
|
|---|
| 228 | potential uninitialised vector elements.
|
|---|
| 229 |
|
|---|
| 230 | 20/04/2001 : G. Cosmo breps-V03-01-00
|
|---|
| 231 | - Migration to STL vector:
|
|---|
| 232 | o G4Assembly: migrated G4PlacedVector typedef.
|
|---|
| 233 | o G4PlacementVector: migrated G4PlacementVector typedef.
|
|---|
| 234 | o G4Point3DVector: migrated G4Point3DVector typedef.
|
|---|
| 235 | o G4CurveVector: migrated G4CurveVector typedef.
|
|---|
| 236 | o G4BSplineCurve: migrated G4doubleVector typedef and removed
|
|---|
| 237 | redefinition of G4Point3DVector.
|
|---|
| 238 |
|
|---|
| 239 | 05/01/2001 : G. Cosmo breps-V03-00-00
|
|---|
| 240 | - Removed useless inclusion of G4OrderedTable.hh from G4Assembly.hh and
|
|---|
| 241 | G4STEPEntity.hh.
|
|---|
| 242 |
|
|---|
| 243 | 20/11/2000 : G. Cosmo breps-V02-00-03
|
|---|
| 244 | - Fixes to remove warnings from "-Wall -ansi -pedantic" g++ compiler options:
|
|---|
| 245 | o commented out variables declared and not used.
|
|---|
| 246 | o fixed declaration of variables used before being initialised.
|
|---|
| 247 | o fixed order of initialisation of member data in constructors.
|
|---|
| 248 | o fixed usage of unsigned-int (size_t) for array indeces.
|
|---|
| 249 |
|
|---|
| 250 | 10/11/2000 : G. Cosmo breps-V02-00-02
|
|---|
| 251 | - Still minor QA fixes in G4Axis2Placement3D, G4BREPSolid, G4FConicalSurface.
|
|---|
| 252 | - Fix in G4Ellipse::Project() for computation of u as function of atan2().
|
|---|
| 253 | - Fix unit test STEPTest.cc.
|
|---|
| 254 |
|
|---|
| 255 | 09/11/2000 : G. Cosmo breps-V02-00-01
|
|---|
| 256 | - QA code revision and cleanup (+fixes from CodeWizard filtering):
|
|---|
| 257 | o Added (private) declarations of copy constructor and assignment operator
|
|---|
| 258 | where needed: all surfaces, BREP solids, G4CompositeCurve G4OsloMatrix,
|
|---|
| 259 | G4PlacedSolid, G4SurfaceList.
|
|---|
| 260 | o Defined/fixed copy contructor and assignment operator to curves/conics,
|
|---|
| 261 | G4Axis2Placement3D. Added equality check on operator= where needed.
|
|---|
| 262 | o Added "const" qualifier to accessor methods, wherever needed.
|
|---|
| 263 | o Made destructor "virtual" wherever missing and added empty destructor
|
|---|
| 264 | to all BREP solids.
|
|---|
| 265 | o Changed virtual functions to non-inline wherever's the case.
|
|---|
| 266 | o Moved "public" data members to protected or private and defined
|
|---|
| 267 | accessors methods for them: G4BREPSolid, G4BezierSurface, G4ConvexHull,
|
|---|
| 268 | G4OsloMatrix, G4Surface, G4SurfaceBoundary, G4SurfaceList, G4UVHit.
|
|---|
| 269 | Changed classes involved to invoke accessors.
|
|---|
| 270 | o Changed return value to be "const" pointer to functions:
|
|---|
| 271 | - G4BREPSolid::GetPlace()
|
|---|
| 272 | - G4BREPSolid::GetBBox()
|
|---|
| 273 | o G4Assembly: fix in destructor, added call to clearAndDestroy().
|
|---|
| 274 | o G4BREPSolid: changed method NumberOfFaces() to GetNumberOfFaces().
|
|---|
| 275 | o G4Curve: fixed obsolete workaround for XlC compiler.
|
|---|
| 276 | o G4OsloMatrix: changed internal class "Matrix" to "G4PointMatrix" and
|
|---|
| 277 | updated classes making use of it.
|
|---|
| 278 | o G4ThreeMat: removed unused overloaded operators =, +, -, +=, -=, *.
|
|---|
| 279 | o Added "inline" qualifier to methods' declarations where missing.
|
|---|
| 280 | o Added more description to BREP solid classes for the Software Reference
|
|---|
| 281 | Manual.
|
|---|
| 282 |
|
|---|
| 283 | 28/08/2000 : G. Cosmo breps-V02-00-00
|
|---|
| 284 | - General reorganisation and code cleanup. No functional changes.
|
|---|
| 285 | Created .icc files and moved inline methods implementation therein.
|
|---|
| 286 | - Added comments to headers for the Software Reference Manual.
|
|---|
| 287 | - Fixes for virtual destructors, inline virtual functions and operators,
|
|---|
| 288 | const methods and arguments.
|
|---|
| 289 | - Updated reference outputs for unit tests (tests run on DEC-cxx with
|
|---|
| 290 | ObjectSpace STL). Random generation changed since release 2.0.
|
|---|
| 291 |
|
|---|
| 292 | 13/05/2000 : G. Cosmo breps-V01-01-00
|
|---|
| 293 | - Added protection to arguments fed to atan2(x,y) in G4Ellipse::Project().
|
|---|
| 294 |
|
|---|
| 295 | 11/04/2000 : J. Allison
|
|---|
| 296 | - Removed implementations of G4VisExtent GetExtent() in most sub-classes
|
|---|
| 297 | of G4VSolid (a default implementation exists in G4VSolid).
|
|---|
| 298 | Files changed: G4BREPSolid[.hh.cc].
|
|---|
| 299 | - All implementations of DescribeYourselfTo (G4VGraphicsScene& scene) const
|
|---|
| 300 | now correctly written: scene.AddThis(*this).
|
|---|
| 301 | Files changed: G4BREPSolidOpenPCone.cc.
|
|---|
| 302 |
|
|---|
| 303 | 25/02/2000 : G. Cosmo breps-V01-00-02
|
|---|
| 304 | G4BSplineSurface[.hh.cc]
|
|---|
| 305 | - fixed dynamic memory allocation problem with creation of temporary
|
|---|
| 306 | hits and manipulation of knots.
|
|---|
| 307 | - rationalized dependencies over G4UVHit, G4ControlPoints and
|
|---|
| 308 | G4BoundingBox3D classes.
|
|---|
| 309 | - added initialization of pointers in constructor where missing.
|
|---|
| 310 | G4BSplineSurfaceWithKnots[.hh.cc]
|
|---|
| 311 | - created dummy classes.
|
|---|
| 312 | G4ConicalSurface.cc
|
|---|
| 313 | - Modified diagnostic message.
|
|---|
| 314 | G4PointRat.hh
|
|---|
| 315 | - Removed useless inclusion of G4UVHit.hh.
|
|---|
| 316 | G4UVHit.hh
|
|---|
| 317 | - Added missing initialization of data-members where needed.
|
|---|
| 318 | - Initialized 'next' pointer to zero in costructor.
|
|---|
| 319 | test/stepfiles
|
|---|
| 320 | - G4msgc_barrel_solid.stp was corrupted. Fixed.
|
|---|
| 321 | - Enhanced PERL script correct.pl to parse more complex STEP files.
|
|---|
| 322 |
|
|---|
| 323 | 14/02/2000 : G. Cosmo breps-V01-00-01
|
|---|
| 324 | G4BSplineSurface.cc - fixed warnings on HP-aCC
|
|---|
| 325 | - removed cast of G4Surface* to G4SurfaceList* (!) in function
|
|---|
| 326 | FinalIntersection().
|
|---|
| 327 | - replaced wherever needed explicit cast to G4PointRat from G4Point3D
|
|---|
| 328 | and viceversa, by using appropriate access functions instead.
|
|---|
| 329 | G4SurfaceList.cc
|
|---|
| 330 | - initialised 'next' and 'temp' pointers in default constructor.
|
|---|
| 331 | Changed 'char*' to 'const char*' as return-type for methods returning the
|
|---|
| 332 | concrete type name; removed temporary cast to char*. Updated files:
|
|---|
| 333 | - G4ThreeMat.hh, G4Surface.hh, G4SphericalSurface.hh,
|
|---|
| 334 | G4RectangularTrimmedSurface.hh, G4FPlane.hh, G4FCylindricalSurface.hh,
|
|---|
| 335 | G4FConicalSurface.hh, G4CylindricalSurface.hh, G4ConicalSurface.hh,
|
|---|
| 336 | G4Curve.hh, G4BSplineSurface[.hh.cc].
|
|---|
| 337 |
|
|---|
| 338 | 21/01/2000 : G. Cosmo breps-V01-00-00
|
|---|
| 339 | Decoupling from NIST STEP reader completed:
|
|---|
| 340 | - G4RectangularTrimmedSurface.cc: removed inclusion of
|
|---|
| 341 | SdaiCONFIG_CONTROL_DESIGN.h
|
|---|
| 342 | - G4PointRat[.hh.cc]: removed unused function
|
|---|
| 343 | CopyRationalValue(const RealNode&).
|
|---|
| 344 | - G4Conic[.hh.cc]: removed constructor G4Conic(STEPentity&).
|
|---|
| 345 | - G4BREPSolid[.hh.cc]: removed unused function CreateSTEPData() and
|
|---|
| 346 | any references to STEP/instmgr.h.
|
|---|
| 347 | - G4Parabola.hh: removed declared and NOT defined constructors
|
|---|
| 348 | G4Parabola(STEPentity&) and G4Parabola(STEPentity&, InstMgr&).
|
|---|
| 349 | - G4Hyperbola.hh: removed declared and NOT defined constructors
|
|---|
| 350 | G4Hyperbola(STEPentity&) and G4Hyperbola(STEPentity&, InstMgr&).
|
|---|
| 351 | - G4Ellipse.hh: removed declared and NOT defined constructors
|
|---|
| 352 | G4Ellipse(STEPentity&) and G4Ellipse(STEPentity&, InstMgr&).
|
|---|
| 353 | - G4ControlPoints.hh: removed declared and NOT defined constructor
|
|---|
| 354 | G4ControlPoints(STEaggregate&, const int).
|
|---|
| 355 | Temporary fixes for porting on SUN-CC 5.0 compiler. Casts to char*:
|
|---|
| 356 | - G4ThreeMat.hh, G4Surface.hh, G4SphericalSurface.hh,
|
|---|
| 357 | G4RectangularTrimmedSurface.hh, G4FPlane.hh, G4FCylindricalSurface.hh,
|
|---|
| 358 | G4FConicalSurface.hh, G4CylindricalSurface.hh, G4ConicalSurface.hh.
|
|---|
| 359 |
|
|---|
| 360 | 08/11/1999 : G. Cosmo breps-V00-01-00
|
|---|
| 361 | First step for decoupling BREPS from NIST STEP reader:
|
|---|
| 362 | - Moved G4NISTStepReader[.hh.cc] and G4StepFileReader[.hh] to
|
|---|
| 363 | STEPinterface.
|
|---|
| 364 | - Removed unused references to STEP in G4KnotVector and G4PointRat.
|
|---|
| 365 | >> Still remaining: reference to STEPaggregate in G4PointRat;
|
|---|
| 366 | reference to instMgr in G4BREPSolid.cc.
|
|---|
| 367 |
|
|---|
| 368 | 10/06/1999 : J. Apostolakis breps-01-00-04
|
|---|
| 369 |
|
|---|
| 370 | G4FPlane.cc:
|
|---|
| 371 | Rays and planes are now considered parallel if dot product with plane's
|
|---|
| 372 | normal less than perMillion rather than perThousand (in the Intersect method).
|
|---|
| 373 |
|
|---|
| 374 | 28/05/1999 : J. Apostolakis breps-01-00-03a
|
|---|
| 375 | Tagged.
|
|---|
| 376 |
|
|---|
| 377 |
|
|---|
| 378 | 28/05/1999 : S. Giani
|
|---|
| 379 | G4BREPSolidPolyhedra.cc
|
|---|
| 380 | DistanceToOut: Introduced treatment for ray leaving from a boundary.
|
|---|
| 381 |
|
|---|
| 382 |
|
|---|
| 383 | 27/05/1999 : J. Apostolakis breps-01-00-03
|
|---|
| 384 | Cosmetic change to G4FCylindricalSurface.cc
|
|---|
| 385 |
|
|---|
| 386 |
|
|---|
| 387 | 25/05/1999 : S. Giani
|
|---|
| 388 | G4BREPSolidPolyhedra.cc(1.8)
|
|---|
| 389 | Modified comparison of square distance to use the squared tolerance
|
|---|
| 390 | (rather than the tolerance). And used <=, instead of <.
|
|---|
| 391 | G4FPlane.cc(1.5):
|
|---|
| 392 | Corrected the use of the tolerance in the intersect function
|
|---|
| 393 | G4SurfaceBoundary.cc(1.4): Return 1 by convention if on surface.
|
|---|
| 394 |
|
|---|
| 395 |
|
|---|
| 396 | 25/05/1999 : S. Magni
|
|---|
| 397 | G4BREPSolidPCone.cc v1.12:
|
|---|
| 398 | New version of Inside function,
|
|---|
| 399 | that uses first intersection & dot prod with normal
|
|---|
| 400 | (instead of counting the number of distinct intersections)
|
|---|
| 401 |
|
|---|
| 402 |
|
|---|
| 403 | 21/05/1999 : J. Apostolakis breps-01-00-02
|
|---|
| 404 | Tagged.
|
|---|
| 405 |
|
|---|
| 406 |
|
|---|
| 407 | 21/05/1999 : S. Magni
|
|---|
| 408 | G4BREPSolidPCone: Further minor corrections several methods
|
|---|
| 409 | - protecting HowNear with fabs when cheching against tolearance ..
|
|---|
| 410 |
|
|---|
| 411 |
|
|---|
| 412 | 21/05/1999 : J. Apostolakis
|
|---|
| 413 | G4BSplineSurface.hh,
|
|---|
| 414 | G4PointRat.hh,
|
|---|
| 415 | G4BREPSolid.cc,
|
|---|
| 416 | G4ProjectedSurface.cc
|
|---|
| 417 | G4Surface.cc
|
|---|
| 418 | G4BREPSolid.cc
|
|---|
| 419 | - changed INFINITY to kInfinity
|
|---|
| 420 |
|
|---|
| 421 |
|
|---|
| 422 | 20/05/1999 : S. Giani
|
|---|
| 423 | G4Line.cc:
|
|---|
| 424 | - A preliminary fix to avoid 0-lenght segments has been introduced.
|
|---|
| 425 |
|
|---|
| 426 |
|
|---|
| 427 | 19/05/1999 : S. Magni
|
|---|
| 428 | G4BREPSolidPCone: Corrected several methods
|
|---|
| 429 | - constructor to take into account the changed G4FPlane
|
|---|
| 430 |
|
|---|
| 431 | - Inside
|
|---|
| 432 | - SurfaceNormal
|
|---|
| 433 | - DistanceToIn( p, v)
|
|---|
| 434 | - DistanceToOut( p, v)
|
|---|
| 435 | for
|
|---|
| 436 | corrected behaviour of HowNear, which is for finite surfaces.
|
|---|
| 437 | ...
|
|---|
| 438 | G4FCylindricalSurface,
|
|---|
| 439 | G4FConicalSurface.cc:
|
|---|
| 440 | Corrected the following methods:
|
|---|
| 441 | - Intersect
|
|---|
| 442 | - HowNear
|
|---|
| 443 |
|
|---|
| 444 |
|
|---|
| 445 | 12/05/1999 : S.Giani
|
|---|
| 446 | G4BREPSolidPolyhedra Corrections by S.Giani:
|
|---|
| 447 | - Xaxis now corresponds to phi=0
|
|---|
| 448 | - partial angle = phiTotal / Nsides
|
|---|
| 449 | - end planes exact boundary calculation for phiTotal < 2pi
|
|---|
| 450 | (also including case with RMIN=RMAX)
|
|---|
| 451 | - Xaxis now properly rotated to compute correct scope of vertixes
|
|---|
| 452 | - corrected surface orientation for outer faces parallel to Z
|
|---|
| 453 | - completed explicit setting of the orientation for all faces
|
|---|
| 454 | - some comparison between doubles avoided by using tolerances.
|
|---|
| 455 |
|
|---|
| 456 | G4FPlane corrections
|
|---|
| 457 | - The constructor using iVec now properly stores both the internal
|
|---|
| 458 | and external boundaries in the bounds vector.
|
|---|
| 459 | - Proper initialization of sameSense in both the constructors.
|
|---|
| 460 | - Addition of third argument (sense) in the second constructor
|
|---|
| 461 | to ensure consistent setting of the normal in all the client code.
|
|---|
| 462 |
|
|---|
| 463 |
|
|---|
| 464 |
|
|---|
| 465 | 27/01/1999 : L. Broglia ( new tag : breps-01-00-01 )
|
|---|
| 466 | - functions Inside, DistanceToIn and DistanceToOut
|
|---|
| 467 | are re-written to satisfy requirements
|
|---|
| 468 |
|
|---|
| 469 | - these functions are identical into G4BREPSolid
|
|---|
| 470 | and into G4BREPSolidPCone & Polyhedra because
|
|---|
| 471 | there are general (see ToDo.txt)
|
|---|
| 472 |
|
|---|
| 473 | - corrections of G4BREPSolid::CalculExtent by
|
|---|
| 474 | Stefano Magni
|
|---|
| 475 |
|
|---|
| 476 |
|
|---|
| 477 |
|
|---|
| 478 | 14/01/1999 : L. Broglia
|
|---|
| 479 | - modification of the IntersectRay2D function
|
|---|
| 480 |
|
|---|
| 481 | before : void IntersectRay2D(const G4Ray& ray,
|
|---|
| 482 | G4CurveRayIntersection& is)
|
|---|
| 483 |
|
|---|
| 484 | now : G4int IntersectRay2D(const G4Ray& ray)
|
|---|
| 485 |
|
|---|
| 486 | return the number of intersections into the curve boundaries,
|
|---|
| 487 |
|
|---|
| 488 | ------------------------------------------------------
|
|---|
| 489 |
|
|---|
| 490 | December, 1998 : L. Broglia
|
|---|
| 491 |
|
|---|
| 492 | - bugs fixed in order to run correctly test05
|
|---|
| 493 | for the first product version
|
|---|
| 494 |
|
|---|
| 495 | ------------------------------------------------------
|
|---|
| 496 |
|
|---|
| 497 | November 11, 1998 : L. Broglia
|
|---|
| 498 |
|
|---|
| 499 | - correct Inside function for G4SphericalSurface
|
|---|
| 500 | - create (but now is empty) Inside function for
|
|---|
| 501 | G4CylindricalSurface
|
|---|
| 502 | - new implementation into G4CylindricalSurface::Intersect
|
|---|
| 503 |
|
|---|
| 504 |
|
|---|
| 505 | November 04, 1998 L. Broglia geometry-00-03-04
|
|---|
| 506 |
|
|---|
| 507 | - Cleaned up trivial errors on DEC (undefined loop variables).
|
|---|
| 508 | - Removed old CurveTest, now separate in G4BREPSolidxxxTest files
|
|---|
| 509 | - Changing the name of the output files. All the tests run correctly with
|
|---|
| 510 | Linux, Sun, HP and DEC compilers
|
|---|
| 511 |
|
|---|
| 512 | ------------------------------------------------------------------------------
|
|---|
| 513 |
|
|---|
| 514 | date: 1998/10/30 22:20:16; author: japost; state: Exp; lines: +11 -5
|
|---|
| 515 | Changed
|
|---|
| 516 |
|
|---|
| 517 | < HitDistance = closest_point.distance2(RayStart);
|
|---|
| 518 |
|
|---|
| 519 | to
|
|---|
| 520 | > HitDistance = closest_point.distance2((G4Point3D &)RayStart);
|
|---|
| 521 |
|
|---|
| 522 | because
|
|---|
| 523 | distance2( HepPoint3D &p )
|
|---|
| 524 | in CLHEP/Point3D
|
|---|
| 525 | should be
|
|---|
| 526 | distance2( const HepPoint3D &p )
|
|---|
| 527 | as it is const!
|
|---|
| 528 |
|
|---|
| 529 |
|
|---|
| 530 | October 29, 1998 L. Broglia
|
|---|
| 531 |
|
|---|
| 532 | - Changed all the occurences of G4Placement into G4Axis2Placement3D.
|
|---|
| 533 | - Modified G4FPlane - new implementation, inheriting from G4Axis2Placement3D
|
|---|
| 534 | - Create in G4PointRat INFINITY which is a double and PINFINITY which is a
|
|---|
| 535 | HepVector3D
|
|---|
| 536 | - Corrected a bug into G4BREPSolidCylinder
|
|---|
| 537 | - Created a test for the curves
|
|---|
| 538 | - Created tests for all BREP solids.
|
|---|
| 539 | For the moment, only test for the sphere and test for the torus
|
|---|
| 540 | run correctly
|
|---|
| 541 | - Created a test which read a STEP file and created the BREP solid
|
|---|
| 542 |
|
|---|
| 543 |
|
|---|
| 544 |
|
|---|
| 545 |
|
|---|
| 546 | October 20, 1998 L. Broglia Breps-lionel-tag1-point3D
|
|---|
| 547 |
|
|---|
| 548 | - Changed all the occurences of G4Point3d, G4Point2d into G4Point3D, which
|
|---|
| 549 | is a HepPoint3D.
|
|---|
| 550 | - Modified G4PointRat - new implementation, inheriting from G4Point3D.
|
|---|
| 551 | - Changed ThreeVec into Vector3D or Point3D, depending on its use.
|
|---|
| 552 |
|
|---|
| 553 | ------------------------------------------------------------------------------
|
|---|
| 554 |
|
|---|
| 555 | October 13, 1998 J. Apostolakis geometry-00-03-01
|
|---|
| 556 |
|
|---|
| 557 | - Tag created.
|
|---|
| 558 |
|
|---|
| 559 | October 12, 1998 J. Apostolakis geometry-00-03-01
|
|---|
| 560 |
|
|---|
| 561 | - Small (cosmetic) changes to aid in compilation on Sun, HP.
|
|---|
| 562 | Renamed local variables, whose name was the same as a class variable or method.
|
|---|
| 563 |
|
|---|
| 564 | July 9, 1998: J. Apostolakis breps-00-01-02
|
|---|
| 565 |
|
|---|
| 566 | - Fixes to G4Assembly, to aid STEPinterface. (Jari).
|
|---|
| 567 | - Fix to G4Placement equality operator. (J.A.)
|
|---|
| 568 | Compiles on AIX.
|
|---|
| 569 |
|
|---|
| 570 |
|
|---|
| 571 | July 8, 1998: J. Apostolakis breps-00-01-01
|
|---|
| 572 |
|
|---|
| 573 | - Tagged.
|
|---|
| 574 |
|
|---|
| 575 |
|
|---|
| 576 | July 5, 1998: P. Urban
|
|---|
| 577 |
|
|---|
| 578 | - Fixes to compile on AIX-AFS.
|
|---|
| 579 |
|
|---|
| 580 |
|
|---|
| 581 | July 2, 1998: J. Apostolakis (for P. Urban)
|
|---|
| 582 |
|
|---|
| 583 | - All of Peter Urban's development of Curves is added from
|
|---|
| 584 | the head of the alpha repository.
|
|---|
| 585 |
|
|---|
| 586 |
|
|---|
| 587 | July 1, 1998: J. Apostolakis (pre-beta01-01)
|
|---|
| 588 |
|
|---|
| 589 | - Geant4beta created from alpha07 tag (which was on a branch).
|
|---|
| 590 |
|
|---|
| 591 |
|
|---|
| 592 | -----------------------------------------------------------------
|
|---|
| 593 | These fixes were added to alpha07 - which was on a branch from
|
|---|
| 594 | the head
|
|---|
| 595 |
|
|---|
| 596 | June 12, 1998: J. Apostolakis (for J. Sulkimo)
|
|---|
| 597 |
|
|---|
| 598 | - Correction to constructor of BREPSolidPCone.
|
|---|
| 599 | (An out-of-date version was mistakenly included in fix to
|
|---|
| 600 | Conical Surface).
|
|---|
| 601 |
|
|---|
| 602 | June 10, 1998: J. Apostolakis (for J. Sulkimo)
|
|---|
| 603 |
|
|---|
| 604 | - Bug fixes to Conical Surface (FConical and Conical) to get
|
|---|
| 605 | PCone to work.
|
|---|
| 606 |
|
|---|
| 607 | ------------------------------------------------------------------
|
|---|
| 608 |
|
|---|
| 609 | June 8, 1998: J. Apostolakis breps-00-06-01
|
|---|
| 610 |
|
|---|
| 611 | - Tagged what seems to be the last version before the merge
|
|---|
| 612 | of Peter Urban's code. Found this by using day before merge,
|
|---|
| 613 | May 27th.
|
|---|
| 614 |
|
|---|
| 615 | April 28, 1998: G. Cosmo, breps-00-05-07
|
|---|
| 616 |
|
|---|
| 617 | - Cleaned up trivial warnings on DEC (Extraneous semicolons).
|
|---|
| 618 | - Removed -cfront option from GNUmakefile for DEC. -cfront
|
|---|
| 619 | overrides ANSI standard rules in cxx-6.0.
|
|---|
| 620 |
|
|---|
| 621 | April 24, 1998: J. Sulkimo, breps-00-05-06
|
|---|
| 622 |
|
|---|
| 623 | - fixed scope bugs in for loops
|
|---|
| 624 |
|
|---|
| 625 | April 24, 1998: J. Sulkimo, breps-00-05-05-assembly
|
|---|
| 626 |
|
|---|
| 627 | - G4Assembly.cc bug fixes in STEP file interaction & placed solids
|
|---|
| 628 | creation. Heavy changes in method G4Assembly::CopySTEPData
|
|---|
| 629 |
|
|---|
| 630 | April 24, 1998: J. Sulkimo, breps-00-05-05-point3d
|
|---|
| 631 |
|
|---|
| 632 | - rerenamed G4Point3d.hh to G4Point3d.h to avoid file name conflict on
|
|---|
| 633 | NT
|
|---|
| 634 |
|
|---|
| 635 | April 23, 1998: G. Cosmo
|
|---|
| 636 | - Added missing canonical implementation of operator== in G4PlacedSolid.hh
|
|---|
| 637 |
|
|---|
| 638 |
|
|---|
| 639 | April 22, 1998: J. Sulkimo, breps-00-05-03-assembly (recorded by J.Apostolakis)
|
|---|
| 640 |
|
|---|
| 641 | - Bug Fixes to G4Assembly, requiring changes to the files:
|
|---|
| 642 |
|
|---|
| 643 | include/G4Assembly.hh
|
|---|
| 644 | include/G4PlacedSolid.hh
|
|---|
| 645 | include/G4StepFileReader.hh
|
|---|
| 646 | src/G4Assembly.cc
|
|---|
| 647 | src/G4BREPSolid.cc
|
|---|
| 648 | src/G4CurveBoundary.cc
|
|---|
| 649 | src/G4PlacedSolid.cc
|
|---|
| 650 | src/G4Surface.cc
|
|---|
| 651 |
|
|---|
| 652 |
|
|---|
| 653 | March 18, 1998: P. Urban, breps-00-05-02
|
|---|
| 654 |
|
|---|
| 655 | - Names of lots of member functions changed:
|
|---|
| 656 |
|
|---|
| 657 | BoxOrNo to IsBox
|
|---|
| 658 | ConvexOrConcave to IsConvex
|
|---|
| 659 | + removing _ and capitalization.
|
|---|
| 660 |
|
|---|
| 661 | Cleanup of the code will continue later.
|
|---|
| 662 |
|
|---|
| 663 |
|
|---|
| 664 | March 18, 1998: P. Urban, breps-00-05-01d
|
|---|
| 665 |
|
|---|
| 666 | - Some member functions were removed. Renamed G4B_SplineCurve.
|
|---|
| 667 |
|
|---|
| 668 | March 18, 1998: P. Urban, breps-00-05-01c
|
|---|
| 669 |
|
|---|
| 670 | - the following classes have been renamed:
|
|---|
| 671 |
|
|---|
| 672 | from to
|
|---|
| 673 |
|
|---|
| 674 | G4B_SplineCurve G4BSplineCurve
|
|---|
| 675 | G4B_SplineCurve_With_Knots G4BSplineCurveWithKnots
|
|---|
| 676 | G4B_SplineSurface G4BSplineSurface
|
|---|
| 677 | G4Conic G4ConicalSurface
|
|---|
| 678 | G4Cylinder G4CylindricalSurface
|
|---|
| 679 | G4EllipticCurve G4Ellipse
|
|---|
| 680 | G4FConic G4FConicalSurface
|
|---|
| 681 | G4FCylinder G4FCylindricalSurface
|
|---|
| 682 | G4HyperbolicCurve G4Hyperbola
|
|---|
| 683 | G4ParabolicCurve G4Parabola
|
|---|
| 684 | G4PlaneSurface G4FPlane
|
|---|
| 685 | G4Rational_B_SplineCurve G4RationalBSplineCurve
|
|---|
| 686 | G4SpheShell G4SphericalSurface
|
|---|
| 687 | plane G4Plane
|
|---|
| 688 | uv_hit G4UVHit
|
|---|
| 689 |
|
|---|
| 690 | March 18, 1998: P. Urban, breps-00-05-01b
|
|---|
| 691 |
|
|---|
| 692 | - some class names will be changed; renaming the files (but not the classes!)
|
|---|
| 693 | was done.
|
|---|
| 694 |
|
|---|
| 695 | March 18, 1998: P. Urban, breps-00-05-01a
|
|---|
| 696 |
|
|---|
| 697 | - *.h files renamed to *.hh.
|
|---|
| 698 |
|
|---|
| 699 | March 18, 1998: P. Urban, breps-00-05-01
|
|---|
| 700 |
|
|---|
| 701 | - Modifications made before alpha05 which are not part of alpha05
|
|---|
| 702 | for some reason.
|
|---|
| 703 |
|
|---|
| 704 |
|
|---|
| 705 |
|
|---|
| 706 |
|
|---|
| 707 |
|
|---|
| 708 |
|
|---|
| 709 |
|
|---|
| 710 |
|
|---|
| 711 |
|
|---|
| 712 |
|
|---|
| 713 |
|
|---|