#include "G4Types.hh"
#include "geomdefs.hh"
#include "G4ThreeVector.hh"
#include <assert.h>
#include "G4VoxelLimits.icc"
Go to the source code of this file.
Data Structures | |
class | G4VoxelLimits |
Functions | |
std::ostream & | operator<< (std::ostream &os, const G4VoxelLimits &pLim) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const G4VoxelLimits & | pLim | |||
) |
Definition at line 286 of file G4VoxelLimits.cc.
00287 { 00288 os << "{"; 00289 if (pLim.IsXLimited()) 00290 { 00291 os << "(" << pLim.GetMinXExtent() 00292 << "," << pLim.GetMaxXExtent() << ") "; 00293 } 00294 else 00295 { 00296 os << "(-,-) "; 00297 } 00298 if (pLim.IsYLimited()) 00299 { 00300 os << "(" << pLim.GetMinYExtent() 00301 << "," << pLim.GetMaxYExtent() << ") "; 00302 } 00303 else 00304 { 00305 os << "(-,-) "; 00306 } 00307 if (pLim.IsZLimited()) 00308 { 00309 os << "(" << pLim.GetMinZExtent() 00310 << "," << pLim.GetMaxZExtent() << ")"; 00311 } 00312 else 00313 { 00314 os << "(-,-)"; 00315 } 00316 os << "}"; 00317 return os; 00318 }