67 lines
1.6 KiB
Plaintext
67 lines
1.6 KiB
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: G4LogicalSurface.icc,v 1.1.12.1 1999/12/07 20:48:09 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-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()
|
|
{
|
|
}
|