G4tgrSolidBoolean.cc File Reference

#include "G4tgrSolidBoolean.hh"
#include "G4tgrUtils.hh"
#include "G4tgrVolume.hh"
#include "G4tgrVolumeMgr.hh"
#include "G4tgrMessenger.hh"
#include "G4tgrFileReader.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const G4tgrSolidBoolean &sol)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4tgrSolidBoolean sol 
)

Definition at line 117 of file G4tgrSolidBoolean.cc.

References G4endl, G4tgrSolid::theName, G4tgrSolidBoolean::theSolidParams, and G4tgrSolid::theType.

00118 {
00119   os << "G4tgrSolidBoolean= " << sol.theName << " of type " << sol.theType
00120      << " PARAMS: ";
00121   if( sol.theSolidParams.size() != 0 )
00122   {
00123     std::vector<G4double> solpar = *(sol.theSolidParams[0]); 
00124     for( size_t ii = 0; ii < solpar.size(); ii++)
00125     {
00126       os << solpar[ii] << " " ;
00127     }
00128   }
00129   os << G4endl;
00130 
00131   return os;
00132 }


Generated on Mon May 27 17:51:10 2013 for Geant4 by  doxygen 1.4.7