Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
// 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: G4Polymarker.cc,v 2.0 1998/07/02 17:30:59 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
//
|
||||
//
|
||||
// John Allison November 1996
|
||||
|
||||
#include "G4Polymarker.hh"
|
||||
|
||||
// Forward declaration for g++ linker.
|
||||
#ifdef GNU_GCC
|
||||
#include <rw/tvvector.h>
|
||||
#include "G4Point3D.hh"
|
||||
template class RWTValVector<G4Point3D>;
|
||||
#endif
|
||||
|
||||
G4Polymarker::G4Polymarker ():
|
||||
fMarkerType (line)
|
||||
{}
|
||||
|
||||
ostream& operator << (ostream& os, const G4Polymarker& marker) {
|
||||
os << "G4Polymarker: type: ";
|
||||
switch (marker.fMarkerType) {
|
||||
case G4Polymarker::line:
|
||||
os << "line"; break;
|
||||
case G4Polymarker::dots:
|
||||
os << "dots"; break;
|
||||
case G4Polymarker::circles:
|
||||
os << "circles"; break;
|
||||
case G4Polymarker::squares:
|
||||
os << "squares"; break;
|
||||
default:
|
||||
os << "unrecognised"; break;
|
||||
}
|
||||
os << "\n ";
|
||||
os << (G4VMarker) marker;
|
||||
os << (G4Point3DList) marker;
|
||||
return os;
|
||||
}
|
||||
Reference in New Issue
Block a user