Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4VoxelLimits.hh File Reference
#include "G4Types.hh"
#include "geomdefs.hh"
#include "G4ThreeVector.hh"
#include <assert.h>
#include "G4VoxelLimits.icc"
Include dependency graph for G4VoxelLimits.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4VoxelLimits
 

Functions

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

Function Documentation

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

Definition at line 286 of file G4VoxelLimits.cc.

287 {
288  os << "{";
289  if (pLim.IsXLimited())
290  {
291  os << "(" << pLim.GetMinXExtent()
292  << "," << pLim.GetMaxXExtent() << ") ";
293  }
294  else
295  {
296  os << "(-,-) ";
297  }
298  if (pLim.IsYLimited())
299  {
300  os << "(" << pLim.GetMinYExtent()
301  << "," << pLim.GetMaxYExtent() << ") ";
302  }
303  else
304  {
305  os << "(-,-) ";
306  }
307  if (pLim.IsZLimited())
308  {
309  os << "(" << pLim.GetMinZExtent()
310  << "," << pLim.GetMaxZExtent() << ")";
311  }
312  else
313  {
314  os << "(-,-)";
315  }
316  os << "}";
317  return os;
318 }
G4double GetMinYExtent() const
G4bool IsYLimited() const
G4bool IsXLimited() const
G4double GetMaxXExtent() const
G4double GetMinZExtent() const
G4double GetMinXExtent() const
G4double GetMaxZExtent() const
G4double GetMaxYExtent() const
G4bool IsZLimited() const

Here is the call graph for this function: