Geant4-11
Functions
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 245 of file G4VoxelLimits.cc.

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

References G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), and G4VoxelLimits::IsZLimited().