source: trunk/source/geometry/solids/CSG/History@ 1115

Last change on this file since 1115 was 921, checked in by garnier, 17 years ago

en test de gl2ps. Problemes de libraries

File size: 27.6 KB
Line 
1$Id: History,v 1.109 2008/11/21 09:50:20 gcosmo Exp $
2-------------------------------------------------------------------
3
4 =========================================================
5 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
6 =========================================================
7
8 Sub-Category History file
9 -------------------------
10This file should be used by G4 developers and category coordinators
11to briefly summarize all major modifications introduced in the code
12and keep track of all directory-tags.
13It DOES NOT substitute the CVS log-message one should put at every
14committal in the CVS repository !
15
16 ----------------------------------------------------------
17 * Reverse chronological order (last date on top), please *
18 ----------------------------------------------------------
19
20Nov 21, 2008 G.Cosmo geom-csg-V09-01-08
21- G4Sphere: defined Get/SetInnerRadius() accessors to be compliant with
22 other CSG solids and allow consistent treatment in persistency code...
23
24Nov 06, 2008 G.Cosmo geom-csg-V09-01-07
25- G4Tubs, G4Cons: implemented caching of trigonometric values, now directly
26 computed inside modifiers for Phi angles and required for parametrised
27 cases. Improvement bringing up to 20% speedup in normal tracking for
28 tube/cone-sections placements.
29
30Nov 05, 2008 G.Cosmo geom-csg-V09-01-06
31- G4Cons: implemented first speed improvements and corrections from joint
32 code review of G4Cons class. Cached computation for half-tolerance and
33 use of Boolean flag for identifying if full-cone or section.
34- G4Tubs: more refinements to previous review; corrected implementation
35 of constructor to conform to implementation as in G4Cons. Fixed issue in
36 SetDeltaPhi() method after changes introduced in the previous tag.
37
38Sep 18, 2008 T.Nikitina geom-csg-V09-01-05
39- G4Tubs: implemented first speed improvements and corrections from joint
40 code review of G4Tubs class. Cached computation for half-tolerance and
41 use of Boolean flag for identifying if full-tube or section.
42
43Jul 07, 2008 V.Grichine geom-csg-V09-01-04
44- G4Sphere: fixed bug in DistanceToOut(p, v, ...) for normal 'fSTheta'
45 greater than 90*deg, and use of tangent giving negative value.
46 Completes series of corrections introduced in previous tag.
47
48Jun 23, 2008 T.Nikitina geom-csg-V09-01-03
49- G4Tubs: fix in DistanceToIn(p,v, ...) in case of point on surface with
50 very small tangent direction; now returning kInfinity and no longer zero.
51 It fixes rare observed cases of zero value returned by both DistanceToIn()
52 and DistanceToOut(), causing stuck tracks with zero step length.
53
54Jun 20, 2008 V.Grichine
55- G4Sphere: fixed calculation of roots in DistanceToOut(p,v,...) for
56 theta-conical surfaces interserctions and for sTheta<=90 degree intersection.
57 Addresses issue reported when running PET application with optical photons
58 about mis-computation of distance on half-sphere constructs.
59- Updated unit test for sphere.
60
61Apr 22, 2008 V.Grichine geom-csg-V09-01-02
62- G4Trap: corrections for arithmetic operations in 8-point constructor.
63 Addressing problem report #934.
64
65Mar 13, 2008 G.Cosmo geom-csg-V09-01-01
66- Cleared compilation warnings in G4Sphere on gcc-4.3.0 for
67 ambiguous use of parentheses in condition statements.
68
69Feb 20, 2008 T.Nikitina geom-csg-V09-01-00
70- G4Cons:
71 o Added protection against NaN in GetPointOnSurface() in the case the
72 check is run for Rmax1==Rmax2.
73
74Nov 23, 2007 T.Nikitina geom-csg-V09-00-02
75- Fixed problem of undefined side for valid surface normal in case of Phi
76 section and direction through the center of either A G4Tubs or G4Cons shape.
77
78Oct 2, 2007 T.Nikitina geom-csg-V09-00-01
79- G4Torus:
80 o Fixed bug in CalculateExtent() for case of non-rotated full-phi
81 torus definition: added protection against negative value for sqrt()
82 and corrected formula for 'delta'. Fixes problem of NaN detected in
83 initialisation by CMS.
84 o Fixed bug in SolveNumericJT(): corrected handling of complex roots,
85 'rootsrefined' is used only if the number of refined roots is the same
86 as for primary roots. Addresses problem report #969.
87
88Aug 16, 2007 T.Nikitina geom-csg-V09-00-00
89- G4Tubs: fixed bug in DistanceToOut(p,v,..) for negative value under sqrt()
90 for the case of point p on the surface and v tangent to the surface.
91 Responsible for rare cases of NaN.
92
93May 18, 2007 G.Cosmo geom-csg-V08-03-01
94- Use kAngTolerance and kRadTolerance from G4GeometryTolerance class.
95- Coworks with tag "global-V08-03-03".
96
97May 16, 2007 T.Nikitina geom-csg-V08-03-00
98- G4Tubs: fixed bug for DistanceToOut(p,v) for phi section.
99 Bug was causing segmentation fault in recursive_test (problem report #784).
100 For v crossing the center of the tub DistanceToOut was always giving
101 Radial distance and not distance in Phi.
102- G4Cons: fixed bug for DistanceToOut(p,v) for phi section,
103 the same as for G4Tubs.
104- Updated unit tests.
105
106Oct 19, 2006 G.Cosmo geom-csg-V08-01-00
107- Added explicit computation for GetSurfaceArea() for all solids
108 (by H.Dierckx).
109- Implemented caching mechanism for computation of surface area in
110 G4CSGSolid, as done for the geometrical volume computation.
111
112Jun 06, 2006 V.Grichine geom-csg-V08-00-01
113- G4Tubs: added protection against NaNs in CalculateExtent() to avoid
114 sqrt() of negative numbers due to round-off.
115- Updated unit tests testG4Sphere and testDistanceAccuracy.
116
117Jan 16, 2006 V.Grichine geom-csg-V08-00-00
118- G4Sphere: fixed bug in DistanceToOut() for theta intersections.
119
120Nov 20, 2005 V.Grichine geom-csg-V07-01-05
121- G4Torus: fixed bug in Inside(p) for phi sections.
122 Fixes problem report #810.
123
124Nov 9, 2005 G.Cosmo geom-csg-V07-01-04
125- Added fake default constructor for all concrete solids and relevant
126 utility classes, for usage of direct object persistency.
127- Implemented changes to support CLHEP-2.0.X for explicit usage of the
128 CLHEP/HepGeom namespaces for CLHEP types.
129
130Oct 23, 2005 V.Grichine geom-csg-V07-01-03
131- G4Para: fixed bug in DistanceToOut(p,v) for the case v.x()<0.
132 Following problem report from user posted on Hypernews (#452).
133
134Sep 5, 2005 O.Link geom-csg-V07-01-02
135- Moved implementation for DistanceToIn/Out() in G4Torus to make use of
136 G4JTPolynomialSolver for precise calculation of the intersections.
137- Reviewed unit tests and reduced statistics.
138
139Aug 8, 2005 D.Anninos geom-csg-V07-01-01
140- Added GetPointOnSurface() to all solids. The method returns a random
141 point according to a quasi-uniform distribution along the surface.
142
143Jul 25, 2005 O.Link geom-csg-V07-01-00
144- Fixed bug in G4Sphere::DistanceToOut(p,v):
145 added check for intersection with double cone.
146- Added new unit test testDistanceAccuracy (V.Grichine).
147
148Jun 8, 2005 V.Grichine geom-csg-V07-00-09
149- Keep old specification for SurfaceNormal() to treat usage of the
150 function for points not at the surface.
151
152Jun 6, 2005 V.Grichine geom-csg-V07-00-08
153- Correction to SurfaceNormal() for G4Cons, G4Sphere, G4Torus, G4Tubs
154 for properly handling location on z-axis and in the frame origin.
155 Fixed bug in G4Cons::SurfaceNormal(p) for normals returned from
156 rmax and rmin.
157- Moved debug printouts for surface-normals to G4CSGDEBUG.
158- Cleared compilation warnings in unit tests and updates.
159
160May 27, 2005 J.Allison geom-csg-V07-00-07
161- Fixed polyhedron representation of G4Torus.
162
163May 26, 2005 G.Cosmo geom-csg-V07-00-06
164- G4Box.cc: restored call to AddSolid() and replaced old AddThis() in
165 DescribeYourselfTo().
166
167May 11, 2005 V.Grichine geom-csg-V07-00-05
168- G4Para: bug fixed in SurfaceNormal(p) for x-distance, to be now in
169 accordance with the surface selection using Inside(p).
170- Updated unit test testSurfaceNormal.cc.
171
172May 09, 2005 V.Grichine geom-csg-V07-00-04
173- Updated implementation of SurfaceNormal(p) to get consistence with
174 Inside(p) functions for the treatment of phi/theta surfaces.
175 They are treated now in both functions in terms of kAngTolerance.
176 The reason is that historically SurfaceNormal(p) was using only
177 kCarTolerance for estimation of shortest distance to a surface. Now,
178 following the new updated specification, the surface selection is made
179 according to Inside(p) approach (as kSurface is selected), i.e. - for
180 phi/theta surfaces in terms of kAngTolerance.
181
182Apr 26, 2005 V.Grichine, J.Apostolakis
183- Simplified and revised the new implementation for SurfaceNormal(p)
184 with edges/vertices and made becoming the default one for all solids.
185
186Apr 20, 2005 V.Grichine geom-csg-V07-00-03
187- G4Trap: fix in p.x() centering to sum over all vertices.
188
189Mar 23, 2005 J.Allison geom-csg-V07-00-02
190- Added test for Number-Of-Rotation-Steps in G4CSGSolid::GetPolyhedron().
191 Requires tag "greps-V07-00-02".
192
193Mar 03, 2005 J.Allison geom-csg-V07-00-01
194- Changed AddThis() with AddSolid() for all solids in DescribeYourselfTo()
195 implementation.
196
197Dec 02, 2004 V.Grichine geom-csg-V07-00-00
198- New alternative implementation of SurfaceNormal(p) with edges/vertices
199 for G4Box, G4Para, G4Trap, G4Trd. Old implementation is still the default.
200 Can be activated by setting G4NEW_SURF_NORMAL variable before compilation.
201
202Nov 15, 2004 V.Grichine geom-csg-V06-02-06
203- G4Trap: added check for X-centering for constructor by verteces.
204 Fixes problem report #687.
205- New unit test for surface-normal and updated unit tests for sphere
206 and trap.
207
208Oct 10, 2004 J.Allison geom-csg-V06-02-05
209- Added GetPolyhedron, a smart access function that creates a G4Polyhedron
210 on request and stores for future access. A null pointer means "not
211 available".
212
213Sep 22, 2004 V.Grichine geom-csg-V06-02-04
214- Added specific implementation of GetCubicVolume() for all CSG solids.
215 The method compute the exact geometrical values and stores it.
216 The value is reset each time a parameter of the solid is modified.
217- Moved inline methods for G4Orb to .icc file.
218- Added unit test testSurfaceInOut.cc.
219
220Sep 16, 2004 V.Grichine geom-csg-V06-02-03
221- Bug fix in G4Sphere::SurfaceNormal(p) for theta normals.
222
223Jul 28, 2004 V.Grichine geom-csg-V06-02-02
224- Fix in G4Cons::DistanceToIn(p,v) on fRmax surface and move in,
225 the condition became a bit more strict && determinant >=0, i.e.
226 intersections in addition to go in.
227 Fixes a rare problem of dIn=dOut=0 observed in 3 events over a
228 statistics of 10^8..
229- Updated unit test testSurfaceInOut.cc to consider the test-case above.
230
231Jul 16, 2004 V.Grichine geom-csg-V06-02-01
232- Fix in G4Sphere::DistanceToOut(p,v,...) on fRmin moving outside.
233 The bug showed 3 events of dIn=dOut=0 for 10^7 statistics in
234 testSurfaceInOut.
235- Added new unit test testSurfaceInOut.cc.
236
237Jul 02, 2004 V.Grichine geom-csg-V06-02-00
238- Fixes curing rare conditions of loops at boundaries for G4Orb and G4Sphere:
239 o G4Orb.cc: bug fix in DistanceToIn(p,v) on fRmax surface allowing
240 move near fRmax-fCarTolerance/2.
241 o G4Sphere.cc: bug fix in DistanceToIn(p,v) on Rmax/min surface for
242 condition of intersection with (Rmax/min-kCarTolerance) artificial
243 surface.
244- Updated unit test for G4Orb.
245
246Mar 18, 2004 V.Grichine geom-csg-V06-00-01
247- G4Torus.cc: bug fix in Inside(p) fixing warnings reported in
248 debug-mode of 'point p is outside'.
249
250Jan 26, 2004 V.Grichine geom-csg-V06-00-00
251- Converted strong exceptions in warning notifications for rare anomalous
252 conditions in DistanceToOut(p,v,..).
253- G4Cons.cc: bug fix in DistanceToIn(p,v) to resolve situations of calls
254 to DistanceToOut() for points outside.
255
256Dec 4, 2003 V.Grichine geom-csg-V05-02-06
257- G4Trap.cc: fixed initialisation of planes in default constructor.
258- Added new unit test for G4Sphere and new test case for G4Cons.
259
260Nov 5, 2003 V.Grichine geom-csg-V05-02-05
261- G4Orb[.hh.cc]: introduced relative tolerance accuracy on fRmax surface
262 in all methods.
263
264Nov 3, 2003 G.Cosmo geom-csg-V05-02-04
265- Code cleanup and headers inclusion review
266 (replaced by forward declarations where necessary).
267
268Nov 2, 2003 V.Grichine
269- G4Sphere, G4Orb: revision of algorithm for Phi sections in
270 method Inside().
271
272Oct 29, 2003 J.Apostolakis geom-csg-V05-02-03
273- G4Sphere.cc: fix for in Inside() for a point with Phi angle:
274 0.5 kAngTol < phi < Phi_start
275
276Oct 28, 2003 G.Cosmo geom-csg-V05-02-02
277- Migrated to new G4Exception scheme.
278
279Oct 09, 2003 V.Grichine geom-csg-V05-02-01
280- Initialise safe=0.0 in DistanceToIn/Out(p) in all solids.
281- Introduced G4Orb solid: a simple sphere with only outer radius.
282
283Sep 30, 2003 G.Cosmo geom-csg-V05-02-00
284- Updated GNUmakefile for unit tests, according to new structure
285 introduced in "geometry-V05-02-00".
286
287Jun 25, 2003 G.Folger geom-csg-V05-01-00
288- Added disclaimer of liability where needed.
289
290Feb 03, 2003 G.Cosmo geom-csg-V05-00-00
291- G4Cons.cc: enhanced treatment of phi-sections,
292 according to algorithm used also in G4Tubs (V.Grichine).
293- Updated unit tests.
294
295Oct 28, 2002 G.Cosmo geom-csg-V04-01-01
296- Added implementation of StreamInfo() to comply with new interface for
297 G4VSolid in "geommng-V04-01-03".
298- Moved inline functions to .icc files, reorganised comments for the Software
299 Reference Manual.
300- Some cosmetic changes to code formatting, removed all <TAB> characters and
301 adopted uniform code indentation.
302- Extended unit tests for G4Cons and G4Sphere (V.Grichine).
303
304Jun 26, 2002 V.Grichine geom-csg-V04-01-00
305- G4Cons.cc: bug fixed in DistanceToIn(p,v) concerning z-crossing at the
306 edge with Rmin,Rmax.
307
308Jun 19, 2002 V.Grichine geom-csg-V04-00-05
309- G4Sphere.cc: bug fixed in Inside() for treatment of point p on z-axis.
310 Added new condition [(rho2 || p.z()) && fDTheta < M_PI - kAngTolerance*0.5)]
311 for treating special case. Fixes problem report #378.
312
313May 15, 2002 G.Cosmo geom-csg-V04-00-04
314- G4Trap.cc, G4Tubs.cc: changed local enum 'kUndefined' to 'kUndef',
315 to co-work with tag "global-V04-00-06", where 'kUndefined' is now
316 defined for EAxis.
317
318Apr 16, 2002 V.Grichine geom-csg-V04-00-03
319- G4Tubs.cc: restored "vertices" algorithm for CalculateExtent() which
320 was temporarly disabled (see reference to tag geom-solids-csg-V03-00-03).
321- Updated unit test for G4Tubs, testG4Tubs.cc.
322
323Feb 15, 2002 V.Grichine geom-csg-V04-00-02
324- G4Para.cc: fixed bug in G4Para::Inside() in calculation of xt,
325 according to problem report #357.
326
327Jan 31, 2002 V.Grichine geom-csg-V04-00-01
328- G4Sphere.cc: bug fix in Inside() function.
329 Fix problem report #216.
330- Updated unit test for G4Sphere.
331
332Jan 10, 2002 G.Cosmo geom-solids-csg-V04-00-00
333- Moved all verbosity mode warnings to G4CSGDEBUG and commented exceptions.
334- Activated G4CSGDEBUG mechanism in GNUmakefile.
335- G4Sphere.cc: fixed a problem with tolerances in the case of large Radius.
336 The case (test18) involves an Rmax = 250 000 000.00 mm
337 The ratio -9
338 tolerance 1.0 10 -17
339 ----------- = ------------ = 0.4 10
340 Rmax +8
341 2.5 10
342 which is smaller than the precision of doubles.
343 Solution (for DistanceToOut(), where problem occured):
344 use a flexible tolerance, equal to the maximum of (kRadTolerance, 10 * R )
345 (J.Apostolakis).
346- Upgraded unit tests and fixed warnings on gcc-2.95-2.
347
348Aug 27, 2001 V.Grichine geom-solids-csg-V03-02-00
349- G4Sphere.cc: bug fixed in G4Sphere::SurfaceNormal for the case kNETheta.
350 Fixes problem report #290.
351
352May 18, 2001 G.Cosmo geom-solids-csg-V03-01-02
353- Added G4CSGDEBUG preprocessor flag to discriminate for debug verbosity
354 specific to CSG solids. Included in G4Exception of DistanceToOut() for
355 "point p is outside" in G4Box, G4Cons, G4Tubs.
356
357Apr 20, 2001 G.Cosmo geom-solids-csg-V03-01-01
358- Updates for migration to STL vector.
359 Modified files: G4Box.cc, G4Cons.cc, G4Para.cc, G4Sphere.cc,
360 G4Torus.cc, G4Trap.cc, G4Trd.cc, G4Tubs.cc.
361 Require coworking with the rest of geometry-V03-01-00.
362
363Apr 18, 01 V. Grichine geom-solids-csg-V03-01-00
364- G4Trap.cc:
365 o Fixed memory leak in CalculateExtent() for creation of vertices in
366 case of finite rotation. (courtesy of D.Williams)
367 o Removed useless inclusion of math.h.
368
369Feb 21, 01 V. Grichine geom-solids-csg-V03-00-03
370- G4Tubs.cc:
371 o Fixed bug in function Inside(p) in computation of pPhi
372 for points at phi = 0 if the (start phi)+(delta phi) is at phi = 0.
373 o Temporarly modified CalculateExtent(...), now simply based on
374 G4Box::CalculateExtent(...). Updated unit test testG4Tubs.cc.
375
376Feb 01, 01 V. Grichine geom-solids-csg-V03-00-02
377- G4Box: introduced checks against negative (or <2*kCarTolerance) dimensions
378 in methods SetXHalfLength(), SetYHalfLength() and SetZHalfLength().
379
380Jan 29, 00 G. Cosmo geom-solids-csg-V03-00-01
381- G4Box: introduced fixes to algorithm for computation of rotated vertices
382 in CalculateExtent() as previously committed in tag geom-solids-csg-V02-00-10.
383- G4Torus: extracted logic for G4PolynomialSolver now included in
384 global/HEPNumerics. Coworks with tag global-V03-00-02.
385- Added dependency to global/HEPNumerics in GNUmakefile.
386
387Jan 18, 00 V. Grichine geom-solids-csg-V03-00-00
388- Fixed condition from (pPhi<0) to (pPhi<-0.5*kAngleTolerance) in
389 G4Tubs::Inside(p). Fixes problem report #198.
390
391Dec 07, 00 V. Grichine geom-solids-csg-V02-00-14
392- G4Tubs.cc: corrections in phi-section algorithm of Inside(p).
393
394Dec 01, 00 G. Cosmo geom-solids-csg-V02-00-13
395- Increased basic number of iterations from 8 to 12 for Newton algorithm
396 in G4Torus.cc to assure root retrivial.
397
398Nov 28, 00 V. Grichine geom-solids-csg-V02-00-12
399- Bug fixed in G4Tubs::Inside(p) for analysis of phi positioning when
400 on +-fDz surface.
401
402Nov 20, 00 G. Cosmo geom-solids-csg-V02-00-11
403- Fixes to remove warnings from "-Wall -ansi -pedantic" g++ compiler options:
404 o commented out variables declared and not used.
405 o fixed declaration of variables used before being initialised.
406 o fixed order of initialisation of member data in constructors.
407 o fixed usage of unsigned-int (size_t) for array indeces.
408- NB: based on tag geom-solids-csg-V02-00-09.
409
410Nov 16, 00 V. Grichine geom-solids-csg-V02-00-10
411- G4Box.cc: introduced fixes to algorithm for computation of rotated vertices
412 in CalculateExtent(). (D.Williams)
413
414Nov 10, 00 G. Cosmo geom-solids-csg-V02-00-09
415- G4Torus.cc: removed debug print-out which was still included by mistake
416 in constructor.
417
418Nov 02, 00 G. Cosmo geom-solids-csg-V02-00-08
419- QA code revision and cleanup (+fixes from CodeWizard filtering):
420 o Removed virtual keyword from GetEntityType() concrete function.
421 o General cosmetics.
422
423Oct 31, 00 V. Grichine geom-solids-csg-V02-00-07
424- G4Tubs::DistanceToOut(p,v,...):
425 o Initialised sr and sphi to kInfinity and re-introduced additional
426 condition on check for Rmin intersection (t2 >= 0).
427
428Oct 26, 00 G. Cosmo geom-solids-csg-V02-00-06
429- G4Cons::DistanceToOut(p,v): leave out warning if point is outside.
430
431Oct 23, 00 G. Cosmo geom-solids-csg-V02-00-05
432- G4Tubs::DistanceToOut(p,v,...):
433 o Still correction to thickness of conical surfaces. (V.Grichine)
434 o Commented-out additional condition on check for Rmin intersection
435 (t2 >= 0), recently introduced (roi2).
436 Requires further investigation !!
437- G4Torus:
438 o Introduced more stable numerical method (Newton-based) for computing
439 roots of equations in DistanceToIn() and DistanceToOut(). (E.Medernach)
440
441Oct 18, 00 V. Grichine geom-solids-csg-V02-00-04
442- G4Cons.cc, G4Tubs.cc:
443 added check against negative distance returned by DistanceToIn/DistanceToOut.
444- G4Cons.cc:
445 added correction for thickness of conical surfaces, remarkable for big
446 opening angles, in DistanceToIn/DistanceToOut functions.
447
448Oct 05, 00 V. Grichine geom-solids-csg-V02-00-03
449- G4Cons.cc:
450 o fix in DistanceToIn(p,v): corrected condition on conical surface to
451 consider a real projection of the conical surface thickness on XY
452 plane (0.5*kCarTolerance*secRMin instead of 0.5*kCarTolerance), when
453 dealing with cons with large opening angle.
454 o Updated unit test testG4Cons2.cc.
455
456Aug 16, 00 V. Grichine geom-solids-csg-V02-00-02
457- G4Cons.cc:
458 o fix in constructor to check if one of the Rmin is equal to 0,
459 if so, it will be set to 1e3*kRadTolerance.
460 o Deactivated call to G4Exception in DistanceToOut(p) if p is outside,
461 replaced by simple warning.
462- G4Tubes.cc, G4Box.cc:
463 o Deactivated call to G4Exception in DistanceToOut(p) if p is outside,
464 replaced by simple warning.
465
466Aug 08, 00 V. Grichine geom-solids-csg-V02-00-01
467- G4Cons.cc, G4Tubs.cc:
468 o fixes to DistanceToOut(p,v,...) to make roots of quadratic equations
469 more stable.
470 o added check if point is outside in G4Tubes::DistanceToOut(p),
471 some code formatting.
472
473Jul 27, 00 V. Grichine geom-solids-csg-V02-00-00
474- G4Cons.cc:
475 o added more diagnostics in DistanceToOut(p)
476 o cosmetics changes
477- Updated unit test for G4Cons.
478
479Jun 22, 00 V. Grichine geom-solids-csg-V01-01-04
480- G4Box.cc:
481 o added safety against call from outside in DistanceToOut(p)
482 o added more diagnostics before exception in DistanceToOut(p,v,...)
483 o cosmetics changes
484- G4Torus[.hh.cc]:
485 o added new alternative functions SolveBiQuadratic/CubicNew.
486 o fix in SolveBiQuadratic() for ambiguous expression in looping index
487 detected by Insure++.
488- Updated unit tests testG4Torus and testG4Trd.
489
490May 17, 00 V. Grichine geom-solids-csg-V01-01-03
491
492- G4Tubs.cc:
493 o introduced fix in DistanceToOut(p,v,...) in computation of xi, yi for
494 (sphi >= -0.5*kCarTolerance). This fixes problem reports #76 and #91.
495 o added more diagnostics in case of invalid enum for DistanceToOut.
496- Updated unit test for G4Tubs.
497
498May 05, 00 V. Grichine geom-solids-csg-V01-01-02
499
500- G4Box.cc, G4Trd.cc:
501 o modified DistanceToIn(p,v) to return 0 distance in case computed
502 value is less than 0.5*kCarTolerance.
503 o Cosmetic changes.
504- Updated unit tests for G4Box and G4Trd.
505
506Apr 11, 00 J. Allison
507
508- Removed implementations of GetExtent in most sub-classes of G4VSolid (a
509 default implementation exists in G4VSolid).
510- All implementations of DescribeYourselfTo (G4VGraphicsScene& scene) const
511 now correctly written: scene.AddThis(*this).
512
513Apr 05, 00 G. Cosmo geom-solids-csg-V01-01-01
514 - G4Tubs.cc: fixed bug in function Inside(p).
515 Removed (commented) in the code umproper addition of 2PI
516 to Phi-angle particle (V.Grichine)
517 - G4Hype[.hh.cc]: fixed several longstanding issues and bring methods
518 into compliance with specifications (D.Williams)
519 - Moved to "specific" the following classes:
520 G4ClippablePolygon, G4EnclosingCylinder, G4Hype, G4PolyPhiFace,
521 G4Polycone, G4PolyconeSide, G4Polyhedra, G4PolyhedraSide,
522 G4ReduciblePolygon, G4IntersectingCone, G4SolidExtentList,
523 G4VCSGface, G4VCSGfaceted.
524 - Moved testG4Hype.cc and testG4Polycone.cc from CSG/test to
525 specific/test
526 - Moved generic tests "SBT" and "Fred" one level up to solids/test.
527 - Organised class description comments for the Software Reference Manual
528 in all headers.
529
530Mar 23, 00 G. Cosmo geom-solids-csg-V01-01-00
531 - Tagged.
532
533Mar 22, 00 D. Williams
534 - G4PolyhedraSide.cc: fixed bug in G4PolyhedraSide::Normal(...).
535 The method Normal(...) (used by G4VCSGfaceted::SurfaceNormal) was not
536 filling in the argument bestDistance. This fixes a bug observed in
537 G4Polyhedra::SurfaceNormal.
538
539Mar 14, 00 V. Grichine
540 - Added diagnostics in G4Cons, G4Sphere and G4Torus in function
541 DistanceToOut(p,v,...).
542
543Mar 03, 00 G. Cosmo geom-solids-csg-V01-00-05
544 - Minor fixes to unit tests to make them up-to-date with recent
545 development versions (already included in tag geometry-V01-00-00a).
546 - G4PolyconeSide.cc, G4PolyhedraSide.cc: added explicit cast to G4int
547 to avoid warnings on Linux.
548
549Jan 19, 00 G. Cosmo geom-solids-csg-01-00-04
550 - Fixed bug in DistanceToIn(p,v). Modified files: G4Trap.cc and
551 testG4Trap.cc. (V.Grichine)
552 - Syncronized file versions with HEAD (essentially CVS headers changes).
553 - Fixes for missing migration on HEAD related to some files in test/fred
554 and test/SBT.
555
556Nov 17, 99 J. Apostolakis geom-solids-csg-01-00-03
557 - Tagged
558
559Nov 17, 99 V. Grichine
560 - Added initialisation to Eside "side" variable in DistanceToOut(p,v)
561 in CSG solids --> Problem report from D.C. Williams, BaBar
562 - A check in G4Trap Makeplane added.
563
564Nov 10, 99 J. Apostolakis geom-solids-csg-01-00-02-cand
565 - Included David Williams' modifications to
566 G4IntersectingCone.cc, G4PolyconeSide.cc and G4VCSGfaceted.cc
567 and to test/SBT/SBT.cc and test/SBT/polycone.geant4
568
569Nov 10, 99 J. Apostolakis geom-solids-csg-01-00-01
570 - Tagged
571
572May 18, 99 David Williams
573 - Replaced 1/DBL_MAX with DBL_MIN (valid correction, seen in tests for STL)
574 in G4PolyPhiFace.cc, G4PolyconeSide.cc and G4PolyhedraSide.cc
575
576Apr 29, 99 David Williams
577 - G4Polyhedra and G4Polycone (and G4VCSGfaceted) modified:
578 1. Implemented correct copy constructors and assignment operators.
579 2. Fix some leaks for tracks that pass exactly through an edge.
580 Some leaks still remain: particularly if a track passes through
581 a corner and between the curved edges of G4Polycone.
582 3. G4Polyhedra argument numSide changed to G4int (from G4double)
583
584Apr 13, 99 Vladimir Grichine and Simone Giani
585 - Minor consistency fix to 8 basic CSG solids:
586 Tolerance used in calculation of extent but not in one place,
587 and not another - this tripped up the client code.
588
589Feb 16, 99 David Williams
590 - Repaired bugs in G4Polycone (G4PolyconeSide.cc) as found in
591 test/testG4Polycone and missed in below.
592 - Updated definition of DistanceToIn(p) and DistanceToOut(p) to
593 return zero when the point p is on the surface of the solid.
594
595Feb 12, 99 David Williams
596 - src/G4PolyconeSide.cc updated (revision 1.4) to fix a bug discovered by
597 test/testG4Polycone.
598
599Feb 9, 99 David C. Williams (davidw@scipp.ucsc.edu)
600 - I've committed new versions of the CSG Polycone and Polyhedra in the
601 geant4 repository, including a new utility class called
602 G4ReduciblePolygon. The new versions fix several subtle bugs which my
603 "test3" batch geometry testing code uncovered. In addition, the new class
604 G4ReduciblePolygon is used to run strict tests on the validity of input
605 parameters.
606 To fix a bug in Polyhedra, I had to back out some fancy code that
607 allowed it to calculate intersections at a speed that was independent of
608 the number of sides. The new version now runs at a speed proportional to
609 the number of sides, and is thus much slower for polyhedras with many
610 sides. I can fix this, but I thought it would be best to get the bug fixes
611 in as soon as possible.
612
613Feb 10, 99 John Apostolakis
614 - History file created.
Note: See TracBrowser for help on using the repository browser.