Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VMarker.cc File Reference
#include "G4VMarker.hh"
#include "G4VisAttributes.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4VMarker &marker)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const G4VMarker marker 
)

Definition at line 88 of file G4VMarker.cc.

88 {
89 os << "G4VMarker: position: " << marker.fPosition
90 << ", world size: " << marker.fWorldSize
91 << ", screen size: " << marker.fScreenSize << '\n'
92 << " fill style: ";
93 switch (marker.fFillStyle) {
95 os << "no fill";
96 break;
98 os << "hashed";
99 break;
101 os << "filled";
102 break;
103 default:
104 os << "unrecognised"; break;
105 }
106 if (!marker.fInfo.empty()) os << "\n User information: " << marker.fInfo;
107 os << "\n " << (const G4Visible&) marker;
108 return os;
109}