Geant4 11.2.2
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 57 of file G4VMarker.cc.

57 {
58 os << "G4VMarker: position: " << marker.fPosition
59 << ", world size: " << marker.fWorldSize
60 << ", screen size: " << marker.fScreenSize << '\n'
61 << " fill style: ";
62 switch (marker.fFillStyle) {
64 os << "no fill";
65 break;
67 os << "hashed";
68 break;
70 os << "filled";
71 break;
72 default:
73 os << "unrecognised"; break;
74 }
75 os << "\n " << (const G4Visible&) marker;
76 return os;
77}