Geant4-11
Functions
G4DNABoundingBox.cc File Reference
#include "G4DNABoundingBox.hh"
#include <array>
#include "G4UnitsTable.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const G4DNABoundingBox &rhs)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  stream,
const G4DNABoundingBox rhs 
)

Definition at line 275 of file G4DNABoundingBox.cc.

276{
277 stream << "{" << G4BestUnit(rhs.fxhi, "Length") << ", "
278 << G4BestUnit(rhs.fxlo, "Length") << ", "
279 << G4BestUnit(rhs.fyhi, "Length") << ", "
280 << G4BestUnit(rhs.fylo, "Length") << ", "
281 << G4BestUnit(rhs.fzhi, "Length") << ", "
282 << G4BestUnit(rhs.fzlo, "Length") << ", "
283 << "}";
284 return stream;
285}
#define G4BestUnit(a, b)