Geant4 9.6.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 89 of file G4VMarker.cc.

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