#include <G4GeomTestStreamLogger.hh>
Public Member Functions | |
PrintPos (const G4ThreeVector pos, G4bool useUnit=true) | |
void | Print (std::ostream &) const |
Definition at line 75 of file G4GeomTestStreamLogger.hh.
G4GeomTestStreamLogger::PrintPos::PrintPos | ( | const G4ThreeVector | pos, | |
G4bool | useUnit = true | |||
) | [inline] |
void G4GeomTestStreamLogger::PrintPos::Print | ( | std::ostream & | ) | const |
Definition at line 62 of file G4GeomTestStreamLogger.cc.
Referenced by operator<<().
00063 { 00064 o << std::setprecision(6) << std::setw(14) << p.x()/cm; 00065 o << std::setprecision(6) << std::setw(14) << p.y()/cm; 00066 o << std::setprecision(6) << std::setw(14) << p.z()/cm; 00067 if (unit) o << " cm"; 00068 }