Geant4 11.1.1
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

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

Public Member Functions

 G4Polyline ()
 
 ~G4Polyline () override
 
G4Polylinetransform (const G4Transform3D &)
 
- Public Member Functions inherited from G4Visible
 G4Visible ()
 
 G4Visible (const G4Visible &)
 
 G4Visible (G4Visible &&)
 
 G4Visible (const G4VisAttributes *)
 
virtual ~G4Visible ()
 
G4Visibleoperator= (const G4Visible &)
 
G4Visibleoperator= (G4Visible &&)
 
G4bool operator!= (const G4Visible &right) const
 
const G4VisAttributesGetVisAttributes () const
 
void SetVisAttributes (const G4VisAttributes *)
 
void SetVisAttributes (const G4VisAttributes &)
 
virtual const G4StringGetInfo () const
 
virtual void SetInfo (const G4String &info)
 
- 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
G4String fInfo
 
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 ( )
default

◆ ~G4Polyline()

G4Polyline::~G4Polyline ( )
overridedefault

Member Function Documentation

◆ transform()

G4Polyline & G4Polyline::transform ( const G4Transform3D transformation)

Definition at line 37 of file G4Polyline.cc.

37 {
38 for (auto & i : *this) i.transform(transformation);
39 return *this;
40}

Referenced by 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: