Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions
G4VoxelLimits.hh File Reference
#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)
 

Function Documentation

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

Definition at line 286 of file G4VoxelLimits.cc.

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

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