- Timestamp:
- Dec 22, 2010, 3:52:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/divisions/include/G4ParameterisationPolyhedra.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4ParameterisationPolyhedra.hh,v 1. 9 2009/05/14 14:19:32 ivanaExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4ParameterisationPolyhedra.hh,v 1.10 2010/07/02 10:46:27 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // classes G4ParameterisationPolyhedraRho, … … 51 51 52 52 // Dummy declarations to get rid of warnings ... 53 // 53 54 class G4Trd; 54 55 class G4Trap; … … 91 92 G4VSolid* motherSolid, 92 93 DivisionType divType ); 93 virtual~G4ParameterisationPolyhedraRho();94 95 v irtual void CheckParametersValidity();96 97 virtualG4double GetMaxParameter() const;98 99 v irtual void ComputeTransformation( const G4int copyNo,100 94 ~G4ParameterisationPolyhedraRho(); 95 96 void CheckParametersValidity(); 97 98 G4double GetMaxParameter() const; 99 100 void ComputeTransformation( const G4int copyNo, 101 G4VPhysicalVolume* physVol ) const; 101 102 void ComputeDimensions( G4Polyhedra& phedra, const G4int copyNo, 102 103 const G4VPhysicalVolume* physVol ) const; … … 140 141 G4VSolid* motherSolid, 141 142 DivisionType divType ); 142 virtual~G4ParameterisationPolyhedraPhi();143 144 v irtual void CheckParametersValidity();145 146 virtualG4double GetMaxParameter() const;147 148 v irtual void ComputeTransformation( const G4int copyNo,149 143 ~G4ParameterisationPolyhedraPhi(); 144 145 void CheckParametersValidity(); 146 147 G4double GetMaxParameter() const; 148 149 void ComputeTransformation( const G4int copyNo, 150 G4VPhysicalVolume* physVol ) const; 150 151 void ComputeDimensions( G4Polyhedra& phedra, const G4int copyNo, 151 152 const G4VPhysicalVolume* physVol ) const; … … 189 190 G4VSolid* motherSolid, 190 191 DivisionType divType ); 191 virtual~G4ParameterisationPolyhedraZ();192 193 v irtual void CheckParametersValidity();194 195 virtualG4double GetMaxParameter() const;196 197 v irtual void ComputeTransformation( const G4int copyNo,198 192 ~G4ParameterisationPolyhedraZ(); 193 194 void CheckParametersValidity(); 195 196 G4double GetMaxParameter() const; 197 198 void ComputeTransformation( const G4int copyNo, 199 G4VPhysicalVolume* physVol ) const; 199 200 void ComputeDimensions( G4Polyhedra& phedra, const G4int copyNo, 200 201 const G4VPhysicalVolume* physVol ) const; 201 202 202 private: 203 G4double GetR(G4double z, G4double z1, G4double r1, G4double z2, G4double r2) const; 203 private: 204 205 G4double GetR(G4double z, G4double z1, G4double r1, 206 G4double z2, G4double r2) const; 204 207 G4double GetRmin(G4double z, G4int nsegment) const; 205 208 G4double GetRmax(G4double z, G4int nsegment) const; 206 209 210 // Dummy declarations to get rid of warnings ... 211 void ComputeDimensions (G4Trd&,const G4int, 212 const G4VPhysicalVolume*) const {} 213 void ComputeDimensions (G4Trap&,const G4int, 214 const G4VPhysicalVolume*) const {} 215 void ComputeDimensions (G4Box&,const G4int, 216 const G4VPhysicalVolume*) const {} 217 void ComputeDimensions (G4Sphere&,const G4int, 218 const G4VPhysicalVolume*) const {} 219 void ComputeDimensions (G4Orb&,const G4int, 220 const G4VPhysicalVolume*) const {} 221 void ComputeDimensions (G4Torus&,const G4int, 222 const G4VPhysicalVolume*) const {} 223 void ComputeDimensions (G4Para&,const G4int, 224 const G4VPhysicalVolume*) const {} 225 void ComputeDimensions (G4Hype&,const G4int, 226 const G4VPhysicalVolume*) const {} 227 void ComputeDimensions (G4Tubs&,const G4int, 228 const G4VPhysicalVolume*) const {} 229 void ComputeDimensions (G4Cons&,const G4int, 230 const G4VPhysicalVolume*) const {} 231 void ComputeDimensions (G4Polycone&,const G4int, 232 const G4VPhysicalVolume*) const {} 233 private: 234 207 235 G4int fNSegment; 208 236 G4PolyhedraHistorical* fOrigParamMother; 209 210 // Dummy declarations to get rid of warnings ...211 void ComputeDimensions (G4Trd&,const G4int,212 const G4VPhysicalVolume*) const {}213 void ComputeDimensions (G4Trap&,const G4int,214 const G4VPhysicalVolume*) const {}215 void ComputeDimensions (G4Box&,const G4int,216 const G4VPhysicalVolume*) const {}217 void ComputeDimensions (G4Sphere&,const G4int,218 const G4VPhysicalVolume*) const {}219 void ComputeDimensions (G4Orb&,const G4int,220 const G4VPhysicalVolume*) const {}221 void ComputeDimensions (G4Torus&,const G4int,222 const G4VPhysicalVolume*) const {}223 void ComputeDimensions (G4Para&,const G4int,224 const G4VPhysicalVolume*) const {}225 void ComputeDimensions (G4Hype&,const G4int,226 const G4VPhysicalVolume*) const {}227 void ComputeDimensions (G4Tubs&,const G4int,228 const G4VPhysicalVolume*) const {}229 void ComputeDimensions (G4Cons&,const G4int,230 const G4VPhysicalVolume*) const {}231 void ComputeDimensions (G4Polycone&,const G4int,232 const G4VPhysicalVolume*) const {}233 237 }; 234 238
Note: See TracChangeset
for help on using the changeset viewer.