Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Polyline Class Reference

#include <G4Polyline.hh>

+ Inheritance diagram for G4Polyline:

Public Types

typedef G4Point3DList::iterator iterator
 
- Public Types inherited from G4Point3DList
typedef std::vector< G4Point3D >::iterator iterator
 

Public Member Functions

 G4Polyline ()
 
virtual ~G4Polyline ()
 
G4Polylinetransform (const G4Transform3D &)
 
- Public Member Functions inherited from G4Visible
 G4Visible ()
 
 G4Visible (const G4Visible &)
 
 G4Visible (const G4VisAttributes *)
 
virtual ~G4Visible ()
 
G4Visibleoperator= (const G4Visible &)
 
G4bool operator!= (const G4Visible &right) const
 
const G4VisAttributesGetVisAttributes () const
 
void SetVisAttributes (const G4VisAttributes *)
 
void SetVisAttributes (const G4VisAttributes &)
 
- Public Member Functions inherited from G4Point3DList
virtual ~G4Point3DList ()
 

Friends

std::ostream & operator<< (std::ostream &os, const G4Polyline &)
 

Additional Inherited Members

- Protected Attributes inherited from G4Visible
const G4VisAttributesfpVisAttributes
 
G4bool fAllocatedVisAttributes
 

Detailed Description

Definition at line 46 of file G4Polyline.hh.

Member Typedef Documentation

◆ iterator

Definition at line 52 of file G4Polyline.hh.

Constructor & Destructor Documentation

◆ G4Polyline()

G4Polyline::G4Polyline ( )

Definition at line 33 of file G4Polyline.cc.

33{}

◆ ~G4Polyline()

G4Polyline::~G4Polyline ( )
virtual

Definition at line 35 of file G4Polyline.cc.

35{}

Member Function Documentation

◆ transform()

G4Polyline & G4Polyline::transform ( const G4Transform3D transformation)

Definition at line 37 of file G4Polyline.cc.

37 {
38 for (iterator i = begin(); i != end(); ++i) i->transform(transformation);
39 return *this;
40}
G4Point3DList::iterator iterator
Definition: G4Polyline.hh:52

Referenced by G4VSceneHandler::AddPrimitive(), and transform().

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const G4Polyline line 
)
friend

Definition at line 42 of file G4Polyline.cc.

42 {
43 os << "G4Polyline: ";
44 os << '\n' << (const G4Visible&) line;
45 os << '\n' << (const G4Point3DList&) line;
46 return os;
47}

The documentation for this class was generated from the following files: