Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VoxelLimits.cc File Reference
#include "G4VoxelLimits.hh"
#include "G4ios.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4VoxelLimits &pLim)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const G4VoxelLimits & pLim )

Definition at line 244 of file G4VoxelLimits.cc.

245{
246 os << "{";
247 if (pLim.IsXLimited())
248 {
249 os << "(" << pLim.GetMinXExtent()
250 << "," << pLim.GetMaxXExtent() << ") ";
251 }
252 else
253 {
254 os << "(-,-) ";
255 }
256 if (pLim.IsYLimited())
257 {
258 os << "(" << pLim.GetMinYExtent()
259 << "," << pLim.GetMaxYExtent() << ") ";
260 }
261 else
262 {
263 os << "(-,-) ";
264 }
265 if (pLim.IsZLimited())
266 {
267 os << "(" << pLim.GetMinZExtent()
268 << "," << pLim.GetMaxZExtent() << ")";
269 }
270 else
271 {
272 os << "(-,-)";
273 }
274 os << "}";
275 return os;
276}
G4bool IsYLimited() const
G4double GetMinZExtent() const
G4bool IsXLimited() const
G4double GetMaxYExtent() const
G4double GetMaxZExtent() const
G4double GetMinYExtent() const
G4double GetMinXExtent() const
G4bool IsZLimited() const
G4double GetMaxXExtent() const