42 lines
1.1 KiB
C++
42 lines
1.1 KiB
C++
// 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: G4Polyline.hh,v 1.5 1999/12/15 14:50:33 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-01 $
|
|
//
|
|
//
|
|
// John Allison July 1995
|
|
|
|
// Class Description:
|
|
// A set of line segments defined with a set of vertices.
|
|
// G4Polyline is used for visualizing trajectories, steps, coordinate axes,
|
|
// etc.
|
|
// Class Description - End:
|
|
|
|
|
|
#ifndef G4POLYLINE_HH
|
|
#define G4POLYLINE_HH
|
|
|
|
#include "G4VVisPrim.hh"
|
|
#include "G4Point3DList.hh"
|
|
|
|
class G4Polyline: public G4VVisPrim, public G4Point3DList {
|
|
friend G4std::ostream& operator << (G4std::ostream& os, const G4Polyline& line);
|
|
|
|
public: // With description
|
|
|
|
G4Polyline ();
|
|
G4Polyline (const G4VVisPrim& prim);
|
|
virtual G4Visible& operator = (const G4Visible& right);
|
|
virtual G4VVisPrim& operator = (const G4VVisPrim& right);
|
|
virtual G4Polyline& operator = (const G4Polyline& right);
|
|
};
|
|
|
|
inline G4Polyline::G4Polyline () {}
|
|
|
|
#endif
|