Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -5,9 +5,16 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4PlacedSolid.cc,v 1.2 1999/12/15 14:50:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4PlacedSolid.cc,v 1.3 2000/08/28 08:57:58 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
//
|
||||
// G4PlacedSolid.cc
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
#include "G4PlacedSolid.hh"
|
||||
|
||||
G4PlacedSolid::G4PlacedSolid()
|
||||
@@ -50,7 +57,7 @@ G4PlacedSolid::G4PlacedSolid(G4BREPSolid* s, G4Axis2Placement3D* p)
|
||||
z = tmpvec.z();
|
||||
|
||||
G4ThreeVector y_axis(x,y,z);
|
||||
solidRotation = new HepRotation();
|
||||
solidRotation = new G4RotationMatrix();
|
||||
solidRotation->rotateAxes(x_axis, y_axis, x_axis.cross(y_axis));
|
||||
}
|
||||
}
|
||||
@@ -71,6 +78,3 @@ G4PlacedSolid::~G4PlacedSolid()
|
||||
if(solidTranslation)
|
||||
delete solidTranslation;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user