1 | |
---|
2 | $Id: History,v 1.64 2010/05/11 15:04:01 gcosmo Exp $ |
---|
3 | ------------------------------------------------------------------- |
---|
4 | |
---|
5 | ========================================================= |
---|
6 | Geant4 - an Object-Oriented Toolkit for Simulation in HEP |
---|
7 | ========================================================= |
---|
8 | |
---|
9 | Category History file |
---|
10 | --------------------- |
---|
11 | This file should be used by G4 developers and category coordinators |
---|
12 | to briefly summarize all major modifications introduced in the code |
---|
13 | and keep track of all category-tags. |
---|
14 | It DOES NOT substitute the CVS log-message one should put at every |
---|
15 | committal in the CVS repository ! |
---|
16 | |
---|
17 | Please keep a summary of these message in geometry/History! |
---|
18 | |
---|
19 | ---------------------------------------------------------- |
---|
20 | * Reverse chronological order (last date on top), please * |
---|
21 | ---------------------------------------------------------- |
---|
22 | |
---|
23 | May 11, 2010 J.Allison geom-bool-V09-03-00 |
---|
24 | - Introduced recursive algorithm in CreatePolyhedron(): it uses |
---|
25 | HepPolyhedronProcessor from 'graphics_reps', which tries small shifts |
---|
26 | in an attempt to avoid numerical problems in the calculation of the |
---|
27 | polyhedron in BooleanProcessor. Recursion allows HepPolyhedronProcessor |
---|
28 | to try all permutations, also for Booleans of Booleans. |
---|
29 | Helps in reducing the number of cases of "Error in Boolean processor" for |
---|
30 | visualization, but still some stubborn cases are left. |
---|
31 | |
---|
32 | Oct 24, 2007 V.Grichine geom-bool-V09-00-00 |
---|
33 | - Improved response of Inside() for G4SubtractionSolid and G4UnionSolid |
---|
34 | according to suggestion in problem report #979. |
---|
35 | |
---|
36 | May 18, 2007 G.Cosmo geom-bool-V08-03-00 |
---|
37 | - Use kAngTolerance and kRadTolerance from G4GeometryTolerance class. |
---|
38 | - Updated unit tests. |
---|
39 | - Coworks with tag "global-V08-03-03". |
---|
40 | |
---|
41 | Nov 08, 2006 G.Cosmo geom-bool-V08-01-02 |
---|
42 | - Fixed compilation problems on SUN-CC for changes in the last tag. |
---|
43 | Added inclusion of <sstream> header in G4IntersectionSolid.cc and |
---|
44 | G4UnionSolid.cc. |
---|
45 | |
---|
46 | Nov 06, 2006 J.Allison geom-bool-V08-01-01 |
---|
47 | - G4IntersectionSolid, G4SubtractionSolid, G4UnionSolid: |
---|
48 | fixed CreatePolyhedron() for case of component that does |
---|
49 | not have a G4Polyhedron representation. |
---|
50 | - Added checks for point on boolean surface to unit tests |
---|
51 | testG4DisplacedSolid and testG4SubtractionSolid (V.Grichine). |
---|
52 | |
---|
53 | Oct 19, 2006 G.Cosmo geom-bool-V08-01-00 |
---|
54 | - Added GetSurfaceArea() method, accessors and modifiers to base class |
---|
55 | G4BooleanSolid, implementing the caching mechanism as for volumes. |
---|
56 | |
---|
57 | May 03, 2006 V.Grichine geom-bool-V08-00-00 |
---|
58 | - Fix in G4IntersectionSolid::CalculateExtent() for the correctly handling |
---|
59 | extent computation for nested intersections and always respect the rule |
---|
60 | pMax > pMin. |
---|
61 | |
---|
62 | Nov 09, 2005 G.Cosmo geom-bool-V07-01-01 |
---|
63 | - Added fake default constructor for concrete solids types and relevant |
---|
64 | utility classes, for usage of direct object persistency. |
---|
65 | |
---|
66 | Sep 15, 2005 V.Grichine geom-bool-V07-01-00 |
---|
67 | - Added concrete implementation for GetPointOnSurface() to |
---|
68 | G4BooleanSolid and G4DisplacedSolid. |
---|
69 | - Updated unit tests testG4DisplacedSolid and testG4IntersectionSolid. |
---|
70 | |
---|
71 | May 04, 2005 V.Grichine geom-bool-V07-00-03 |
---|
72 | - Make the new implementation of Inside() with surface-normal for |
---|
73 | edges/vertices the deafult one. |
---|
74 | Removed G4NEW_SURF_NORMAL compilation flag. |
---|
75 | |
---|
76 | Mar 23, 2005 J.Allison geom-bool-V07-00-02 |
---|
77 | - Added test for Number-Of-Rotation-Steps in GetPolyhedron() |
---|
78 | for G4DisplacedSolid and G4BooleanSolid. Requires tag "greps-V07-00-02". |
---|
79 | |
---|
80 | Mar 10, 2005 V.Grichine geom-bool-V07-00-01 |
---|
81 | - Modified Inside(p) G4SubtractionSolid and G4UnionSolid, to fix |
---|
82 | inconsistency for non-zero sum of surface-normals. |
---|
83 | Available only through activation of G4NEW_SURF_NORMAL compilation flag. |
---|
84 | - Updated unit tests. |
---|
85 | |
---|
86 | Mar 03, 2005 J.Allison |
---|
87 | - Changed AddThis() to AddSolid() in the concrete implementations of |
---|
88 | DescribeYourselfTo(G4VGraphicsScene&) for all solids. Use the |
---|
89 | newly available CreatePolyhedron() for components of Boolean |
---|
90 | solids, instead of GetPolyhedron(). |
---|
91 | |
---|
92 | Feb 22, 2005 V.Grichine geom-bool-V07-00-00 |
---|
93 | - Fix in G4IntersectionSolid::DistanceToIn(p,v) to allow for correct |
---|
94 | simmetrical treatment of the solids' intersection. Algorithm reviewed |
---|
95 | as proposed by D.Bazzacco in problem report #723. |
---|
96 | - New unit test testBoolSurfaceInOut.cc for checking dIn-dOut and AB, |
---|
97 | BA booleans on surface. |
---|
98 | |
---|
99 | Oct 10, 2004 J.Allison geom-bool-V06-02-01 |
---|
100 | - Added GetPolyhedron, a smart access function that creates a G4Polyhedron |
---|
101 | on request and stores for future access. A null pointer means "not |
---|
102 | available". |
---|
103 | |
---|
104 | Sep 22, 2004 V.Grichine geom-bool-V06-02-00 |
---|
105 | - Added specific implementation for G4BooleanSolid::GetCubicVolume() |
---|
106 | to cache the computed value. |
---|
107 | - Moved inline methods for G4BooleanSolid to .icc file. |
---|
108 | |
---|
109 | May 07, 2004 G.Cosmo geom-bool-V06-01-00 |
---|
110 | - Moved G4ReflectedSolid class to "management" module. |
---|
111 | - Moved G4ReflectionFactory class to "volumes" module. |
---|
112 | - Moved unit test for reflection to "volumes" module. |
---|
113 | - Coworks with tags: geommng-V06-01-00, geomvol-V06-01-00 and |
---|
114 | geomdiv-V06-01-00. |
---|
115 | |
---|
116 | Feb 27, 2004 V.Grichine geom-bool-V06-00-00 |
---|
117 | - G4UnionSolid.cc, G4SubtractionSolid.cc: fix in debug printout for |
---|
118 | SurfaceNomal(). |
---|
119 | |
---|
120 | Dec 01, 2003 G.Cosmo geom-bool-V05-02-04 |
---|
121 | - G4ReflectedSolid.cc: fixed trivial leak in constructor. |
---|
122 | |
---|
123 | Nov 03, 2003 G.Cosmo geom-bool-V05-02-03 |
---|
124 | - Code cleanup and headers inclusion review |
---|
125 | (replaced by forward declarations where necessary). |
---|
126 | |
---|
127 | Oct 28, 2003 G.Cosmo geom-bool-V05-02-02 |
---|
128 | - Migration to new G4Exception scheme. |
---|
129 | |
---|
130 | Oct 28, 2003 J.Apostolakis |
---|
131 | - Modified test/GNUmakefile to delete un-necessary directories. |
---|
132 | It no longer refers to navigator (old volumes), but includes |
---|
133 | intercoms (for G4VVisManager). |
---|
134 | |
---|
135 | Oct 9, 2003 V.Grichine geom-bool-V05-02-01 |
---|
136 | - Fixes to default safety to zero in DistIn/Out(p) methods. |
---|
137 | Note: Using previous test GNUmakefile (to be corrected). |
---|
138 | |
---|
139 | Sep 30, 2003 G.Cosmo geom-bool-V05-02-00 |
---|
140 | - Updated GNUmakefile for unit tests, according to new structure |
---|
141 | introduced in "geometry-V05-02-00". |
---|
142 | |
---|
143 | Jun 12, 2003 G.Cosmo geom-bool-V05-01-02 |
---|
144 | - G4ReflectionFactory: |
---|
145 | o Made public accessors: GetConstituentLV(), GetReflectedLV(), |
---|
146 | IsConstituent() and IsReflected(). |
---|
147 | o Added accessor GetReflectedVolumesMap() to access list of |
---|
148 | reflected volumes. |
---|
149 | |
---|
150 | May 22, 2003 G.Cosmo geom-bool-V05-01-01 |
---|
151 | - Implementations for Set/GetScalePrecision() in G4ReflectionFactory |
---|
152 | missing! Now fixed. |
---|
153 | |
---|
154 | May 12, 2003 G.Cosmo geom-bool-V05-01-00 |
---|
155 | - Added set/get methods for scale precision in G4ReflectionFactory. |
---|
156 | |
---|
157 | Mar 25, 2003 G.Cosmo geom-bool-V05-00-01 |
---|
158 | - Fixed trivial strict pedantic warnings in G4ReflectedSolid.cc and |
---|
159 | G4ReflectionFactory.cc. |
---|
160 | - Minor fixes to unit tests. |
---|
161 | |
---|
162 | Jan 27, 2003 G.Cosmo geom-bool-V05-00-00 |
---|
163 | - G4ReflectionFactory[.hh.cc] (courtesy of I.Hrivnacova): |
---|
164 | o Added set/get functions Set/GetVolumesNameExtension() for volume-name |
---|
165 | extension. By default now the factory assigns "_refl" postfix to name |
---|
166 | of reflected volumes. |
---|
167 | o Assumed less strict condition in the CheckScale() method, to avoid |
---|
168 | precision problems with imported rotation matrices. |
---|
169 | |
---|
170 | Oct 29 2002 Gabriele Cosmo geom-bool-V04-01-01 |
---|
171 | - Added method CleanTransformations() to G4DisplacedSolid and corrected |
---|
172 | implementation in destructor of G4BooleanSolid to not call for deletion |
---|
173 | of G4VSolid in the case where displacement is used. |
---|
174 | This fixes a problem noticed on Linux-g++ at application closeout for |
---|
175 | double deletion of a solid in such special case. |
---|
176 | |
---|
177 | Oct 28 2002 Gabriele Cosmo geom-bool-V04-01-00 |
---|
178 | - Added implementation of StreamInfo() to comply with new interface for |
---|
179 | G4VSolid in "geommng-V04-01-03". |
---|
180 | - Some cosmetic changes to code formatting. |
---|
181 | - Extended unit tests to include new user test-cases (V.Grichine). |
---|
182 | |
---|
183 | May 11 2002 Vladimir Grichine geom-bool-V04-00-05 |
---|
184 | - G4ReflectedSolid.cc: bounding-box like algorithm for CalculateExtent(). |
---|
185 | |
---|
186 | Apr 16 2002 Vladimir Grichine geom-bool-V04-00-04 |
---|
187 | - G4ReflectedSolid.cc: enhanced algorithm for CalculateExtent(), now |
---|
188 | passing all basic unit tests. |
---|
189 | - Updated unit test for G4ReflectedSolid, testG4ReflectedSolid.cc |
---|
190 | |
---|
191 | Mar 26 2002 Vladimir Grichine geom-bool-V04-00-03 |
---|
192 | - G4ReflectedSolid.cc: modified implementation of CalculateExtent() to |
---|
193 | properly consider transformation of reflected extent. |
---|
194 | |
---|
195 | Feb 15 2002 Vladimir Grichine geom-bool-V04-00-02 |
---|
196 | - G4ReflectedSolid[.hh.cc]: |
---|
197 | o Defined new methods Set/GetTransform3D() and Set/GetDirectTransform3D() |
---|
198 | for defining/accessing the real reflected transformation |
---|
199 | o Moved methods for G4AffineTransform to protected. |
---|
200 | |
---|
201 | Feb 07 2002 Gabriele Cosmo geom-bool-V04-00-01 |
---|
202 | - G4ReflectionFactory.cc: fixed bug causing repetition of daughter volumes. |
---|
203 | |
---|
204 | Jan 10 2002 Gabriele Cosmo geom-solid-bool-V04-00-00 |
---|
205 | - Moved all verbosity mode warnings to G4BOOLDEBUG and commented exceptions. |
---|
206 | - Activated G4BOOLDEBUG mechanism in GNUmakefile. |
---|
207 | - Fixed unit tests. |
---|
208 | |
---|
209 | Nov 08 2001 Gabriele Cosmo geom-solid-bool-V03-02-02 |
---|
210 | - Fix for verbosity in G4ReflectionFactory.cc. Reduced of one level. |
---|
211 | |
---|
212 | Oct 18 2001 Gabriele Cosmo geom-solid-bool-V03-02-01 |
---|
213 | - Introduced first implementation of classes G4ReflectedSolid and |
---|
214 | G4ReflectionFactory for reflections of positioned volumes |
---|
215 | (courtesy of V.Grichine and I.Hrivnacova). |
---|
216 | - Fixed bug in G4ReflectedSolid::CreatePolyhedron(). |
---|
217 | |
---|
218 | Aug 13 2001 Vladimir Grichine geom-solid-bool-V03-02-00 |
---|
219 | - Introduced G4BOOLDEBUG flag and replaced G4Exception statements with |
---|
220 | simple warnings to G4cerr for rare occurences of anomalous conditions. |
---|
221 | |
---|
222 | May 30 2001 Vladimir Grichine geom-solid-bool-V03-01-00 |
---|
223 | - G4IntersectionSolid: fix in DistanceToIn(p,v) resolving bug observed |
---|
224 | in problem report #153. |
---|
225 | |
---|
226 | Mar 19 2001 Gabriele Cosmo geom-solid-bool-V03-00-03 |
---|
227 | |
---|
228 | - G4IntersectionSolid: |
---|
229 | o fix in CalculateExtent() for computation of pMin and pMax, to avoid |
---|
230 | assignment in case CalculateExtent() of one component solid fails. |
---|
231 | o fix in Inside() to return kOutside in case first component solid's |
---|
232 | Inside() returns kOutside. |
---|
233 | - G4UnionSolid: |
---|
234 | o fix in CalculateExtent() for computation of pMin and pMax: initialised |
---|
235 | local variables. |
---|
236 | |
---|
237 | Jan 31 2001 Gabriele Cosmo geom-solid-bool-V03-00-02 |
---|
238 | |
---|
239 | - Fix in G4UnionSolid::DistanceToOut(p,v,...) for assignment of |
---|
240 | argument *n. Previous fix was incomplete! |
---|
241 | |
---|
242 | Jan 23 2001 Gabriele Cosmo geom-solid-bool-V03-00-01 |
---|
243 | |
---|
244 | - Fixed wrong labels for G4Exception calls in G4UnionSolid.cc and |
---|
245 | G4SubtractionSolid.cc to identify the correct class. |
---|
246 | Fixes bug report #200. |
---|
247 | |
---|
248 | Jan 08 2001 Vladimir Grichine geom-solid-bool-V03-00-00 |
---|
249 | |
---|
250 | - Fix in G4UnionSolid::DistanceToOut(p,v,...) for assignment of |
---|
251 | argument *n to happen only if calcNorm is false. |
---|
252 | (courtesy of D.Williams) |
---|
253 | - Updated unit tests testG4IntersectionSolid.cc, testG4SubtractionSolid.cc |
---|
254 | and test/testG4UnionSolid.cc. |
---|
255 | |
---|
256 | Nov 22 2000 Vladimir Grichine geom-solid-bool-V02-00-03 |
---|
257 | |
---|
258 | - Added new set methods for matrix/vectors to G4DisplacedSolid: |
---|
259 | SetTransform(G4AffineTransform&), |
---|
260 | SetDirectTransform(G4AffineTransform&), |
---|
261 | SetFrameRotation(const G4RotationMatrix&), |
---|
262 | SetFrameTranslation(const G4ThreeVector&), |
---|
263 | SetObjectRotation(const G4RotationMatrix&), |
---|
264 | SetObjectTranslation(const G4ThreeVector&). |
---|
265 | |
---|
266 | Nov 20 2000 Gabriele Cosmo geom-solid-bool-V02-00-02 |
---|
267 | |
---|
268 | - Fixes to remove warnings from "-Wall -ansi -pedantic" g++ compiler options: |
---|
269 | o commented out variables declared and not used. |
---|
270 | o fixed declaration of variables used before being initialised. |
---|
271 | o fixed order of initialisation of member data in constructors. |
---|
272 | o fixed usage of unsigned-int (size_t) for array indeces. |
---|
273 | |
---|
274 | Nov 2 2000 Gabriele Cosmo geom-solid-bool-V02-00-01 |
---|
275 | |
---|
276 | - QA code revision and cleanup (+fixes from CodeWizard filtering): |
---|
277 | o Added (private) declarations of copy constructor and assignment |
---|
278 | operator where needed. |
---|
279 | o Changed virtual functions to non-inline wherever's the case. |
---|
280 | |
---|
281 | Sep 13 2000 Vladimir Grichine geom-solid-bool-V02-00-00 |
---|
282 | |
---|
283 | - G4SubtractionSolid.cc: relaxed behavior in SurfaceNormal(p), where |
---|
284 | it is allowed for a point to be inside the solid. A message is thrown |
---|
285 | to cerr instead of a G4Exception. |
---|
286 | |
---|
287 | Jun 26 2000 Vladimir Grichine geom-solid-bool-V01-01-03 |
---|
288 | |
---|
289 | - Fixed bug in G4SubtractionSolid::DistanceToOut(p,v,...). validNorm |
---|
290 | flag was uncorrectly set to true. Fixes report #102. |
---|
291 | |
---|
292 | Jun 6 2000 John Apostolakis geom-solid-bool-V01-01-02 |
---|
293 | |
---|
294 | - Protecting the use of pointers validNorm and n, if calcNorm is false |
---|
295 | |
---|
296 | Jun 6 2000 John Allison geom-solid-bool-V01-01-01 |
---|
297 | |
---|
298 | - Re-enabled CreatePolyhedron() method from G4UnionSolid, G4IntersectionSolid |
---|
299 | and G4SubtractionSolid. Coworks with greps-V01-01-04. |
---|
300 | |
---|
301 | May 26 2000 John Allison geom-solid-bool-V01-01-00 |
---|
302 | |
---|
303 | - Disabled CreatePolyhedron() method from G4UnionSolid, G4IntersectionSolid |
---|
304 | and G4SubtractionSolid. It now temporarly returns a NULL pointer. |
---|
305 | Visualisation of Boolean solids is therefore temporarly disabled, pending |
---|
306 | a definitive fix in graphics_reps. |
---|
307 | Files G4UnionSolid.cc, G4SubtractionSolid.cc and G4IntersectionSolid.cc |
---|
308 | are included in the branch-tag "boolean_nopoly_branch". |
---|
309 | |
---|
310 | Apr 27 2000 Gabriele Cosmo |
---|
311 | |
---|
312 | - Reorganised comments for the Software Reference Manual. |
---|
313 | - Added CVS headers and standard G4 header where missing. |
---|
314 | |
---|
315 | Apr 11 2000 John Allison |
---|
316 | |
---|
317 | - CreatePolyhedron implemented for BooleanSolids. |
---|
318 | - G4DisplacedSolid: reversed implementation of GetFrameRotation and |
---|
319 | GetObjectRotation, removing inappropriate invertion. |
---|
320 | - G4DisplacedSolid::GetConstituentMovedSolid() made const. |
---|
321 | |
---|
322 | Jan 19 2000 Gabriele Cosmo geom-solid-bool-V01-00-00 |
---|
323 | |
---|
324 | - Syncronized file versions with HEAD (essentially CVS headers changes) |
---|
325 | - Fixed cases of G4std::min which were not migrated on the HEAD in files: |
---|
326 | G4UnionSolid.cc and G4IntersectionSolid.cc |
---|
327 | |
---|
328 | Nov 24 1999 geom-solid-bool-V00-01-05 |
---|
329 | |
---|
330 | - Small fix in src/G4DisplacedSolid.cc to the return type |
---|
331 | (const G4AffineTransform --> G4AffineTransform) |
---|
332 | to conform with the specification of the class. |
---|
333 | |
---|
334 | Nov 19 1999 geom-solid-bool-V00-01-04 |
---|
335 | |
---|
336 | - Fixes from Vladimir, and additional tests |
---|
337 | |
---|
338 | Nov 10 1999 geom-solid-bool-V00-01-03b |
---|
339 | |
---|
340 | - Renamed GetConstituentSolid to GetConstituentMovedSolid in G4DisplacedSolid |
---|
341 | to avoid clashing with method that gets the contituents of a G4BooleanSolid. |
---|
342 | |
---|
343 | Nov 10 1999 geom-solid-bool-V00-01-03a |
---|
344 | |
---|
345 | - Tag with additional methods for Persistency |
---|
346 | |
---|
347 | Nov 10 1999 geom-solid-bool-V00-01-03-cand |
---|
348 | |
---|
349 | New method: Get Object Rotation/Translation methods in Displaced Solid |
---|
350 | |
---|
351 | Nov 9 1999 geom-solid-bool-V00-01-02-cand |
---|
352 | |
---|
353 | - Tag with additional methods for Visualisation |
---|
354 | |
---|
355 | G4DisplacedSolid, G4BooleanSolid |
---|
356 | |
---|
357 | Added methods to access data members: |
---|
358 | Get Constituent Solid (int) for Boolean Solid |
---|
359 | Get Constituent Solid for Displaced Solid |
---|
360 | Get Frame Rotation/Translation methods in Displaced Solid |
---|
361 | |
---|
362 | |
---|
363 | |
---|
364 | Dec 1 1998 John Apostolakis geom-boolean-4-ja |
---|
365 | |
---|
366 | Code portability changes. |
---|
367 | |
---|
368 | Nov 27 1998 J.Apostolakis & V.Grichine geom-boolean-3-vg |
---|
369 | |
---|
370 | Fixes agreed in code review were implemented. |
---|