Files
geant4/source/geometry/solids/BREPS/include/G4PlacedSolid.icc
T
2016-06-08 15:55:53 +02:00

42 lines
986 B
Plaintext

// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PlacedSolid.icc,v 1.4 2000/11/09 19:12:52 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// --------------------------------------------------------------------
// GEANT 4 inline definitions file
//
// G4PlacedSolid.icc
//
// Implementation of inline methods of G4PlacedSolid
// --------------------------------------------------------------------
inline
G4bool G4PlacedSolid::operator==(const G4PlacedSolid& ps) const
{
return (this==&ps) ? true : false;
}
inline
G4VSolid* G4PlacedSolid::GetSolid() const
{
return solid;
}
inline
G4RotationMatrix* G4PlacedSolid::GetRotation() const
{
return solidRotation;
}
inline
G4ThreeVector* G4PlacedSolid::GetTranslation() const
{
return solidTranslation;
}