Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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: G4LogicalSurface.icc,v 2.1 1998/07/13 16:51:19 urbi Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Surface Class Inline Methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// File: G4LogicalSurface.icc
|
||||
// Description: A Surface class
|
||||
// Version: 1.0
|
||||
// Created: 1997-06-26
|
||||
// Author: John Apostolakis
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// #include "G4ios.hh"
|
||||
|
||||
/////////////////////////
|
||||
// Class Inline Methods
|
||||
/////////////////////////
|
||||
|
||||
|
||||
//////////////
|
||||
// Operators
|
||||
//////////////
|
||||
|
||||
inline const G4LogicalSurface & G4LogicalSurface::operator=(const G4LogicalSurface &right)
|
||||
{
|
||||
return right;
|
||||
}
|
||||
|
||||
inline G4int G4LogicalSurface::operator==(const G4LogicalSurface &right) const
|
||||
{
|
||||
return (this == (G4LogicalSurface *) &right);
|
||||
}
|
||||
|
||||
inline G4int G4LogicalSurface::operator!=(const G4LogicalSurface &right) const
|
||||
{
|
||||
return (this != (G4LogicalSurface *) &right);
|
||||
}
|
||||
/////////////////
|
||||
// Constructors
|
||||
/////////////////
|
||||
|
||||
inline G4LogicalSurface::G4LogicalSurface(const G4String& name,
|
||||
G4OpticalSurface* opticalSurface)
|
||||
: theName(name),
|
||||
theOpticalSurface(opticalSurface)
|
||||
{
|
||||
}
|
||||
|
||||
inline G4LogicalSurface::G4LogicalSurface(const G4LogicalSurface &right)
|
||||
{
|
||||
*this = right;
|
||||
}
|
||||
|
||||
inline G4LogicalSurface::~G4LogicalSurface()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user