Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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.

Classes

class  G4VoxelLimits
 

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 257 of file G4VoxelLimits.cc.

258{
259 os << "{";
260 if (pLim.IsXLimited())
261 {
262 os << "(" << pLim.GetMinXExtent()
263 << "," << pLim.GetMaxXExtent() << ") ";
264 }
265 else
266 {
267 os << "(-,-) ";
268 }
269 if (pLim.IsYLimited())
270 {
271 os << "(" << pLim.GetMinYExtent()
272 << "," << pLim.GetMaxYExtent() << ") ";
273 }
274 else
275 {
276 os << "(-,-) ";
277 }
278 if (pLim.IsZLimited())
279 {
280 os << "(" << pLim.GetMinZExtent()
281 << "," << pLim.GetMaxZExtent() << ")";
282 }
283 else
284 {
285 os << "(-,-)";
286 }
287 os << "}";
288 return os;
289}
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