Changeset 921 for trunk/source/geometry/management
- Timestamp:
- Feb 16, 2009, 10:14:30 AM (17 years ago)
- Location:
- trunk/source/geometry/management
- Files:
-
- 3 edited
-
History (modified) (2 diffs)
-
include/G4VSolid.hh (modified) (3 diffs)
-
src/G4VSolid.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/management/History
r850 r921 1 $Id: History,v 1.1 28 2008/07/15 10:27:55 gcosmo Exp $1 $Id: History,v 1.131 2008/09/23 13:10:55 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 September 23, 2008 G. Cosmo geommng-V09-01-08 21 - G4VSolid: explicitely reserve memory for polygon vectors in clipping 22 algorithm to help reducing memory footprint. Courtesy of P.Elmer, CMS. 23 24 September 10, 2008 G. Cosmo geommng-V09-01-07 25 - G4VSolid: promote copy-constructor and assignment operator to public 26 to cope with specific use-case in ATLAS (see problem report #1023). 19 27 20 28 July 15, 2008 G.Cosmo geommng-V09-01-06 -
trunk/source/geometry/management/include/G4VSolid.hh
r850 r921 25 25 // 26 26 // 27 // $Id: G4VSolid.hh,v 1.2 8 2008/02/20 15:24:25gcosmo Exp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4VSolid.hh,v 1.29 2008/09/10 13:18:42 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01 $ 29 29 // 30 30 // … … 230 230 // persistifiable objects. 231 231 232 G4VSolid(const G4VSolid& rhs); 233 G4VSolid& operator=(const G4VSolid& rhs); 234 // Copy constructor and assignment operator. 235 232 236 protected: // with description 233 237 … … 294 298 // expressed by the first argument. 295 299 296 protected: // without description297 298 G4VSolid(const G4VSolid& rhs);299 G4VSolid& operator=(const G4VSolid& rhs);300 // Protected copy constructor and assignment operator.301 302 300 protected: 303 301 -
trunk/source/geometry/management/src/G4VSolid.cc
r850 r921 25 25 // 26 26 // 27 // $Id: G4VSolid.cc,v 1.3 7 2008/02/20 15:24:26gcosmo Exp $28 // GEANT4 tag $Name: HEAD$27 // $Id: G4VSolid.cc,v 1.39 2008/09/23 13:07:41 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-02-cand-01 $ 29 29 // 30 30 // class G4VSolid … … 71 71 ////////////////////////////////////////////////////////////////////////// 72 72 // 73 // Protected copy constructor73 // Copy constructor 74 74 // 75 75 … … 181 181 182 182 G4ThreeVectorList polygon; 183 polygon.reserve(4); 183 184 polygon.push_back((*pVertices)[pSectionIndex]); 184 185 polygon.push_back((*pVertices)[pSectionIndex+1]); … … 210 211 { 211 212 G4ThreeVectorList polygon; 213 polygon.reserve(4); 212 214 polygon.push_back((*pVertices)[pSectionIndex]); 213 215 polygon.push_back((*pVertices)[pSectionIndex+4]);
Note:
See TracChangeset
for help on using the changeset viewer.
