55 Volume1(vol1), Volume2(vol2)
59 theBorderSurfaceTable.push_back(
this);
67 Volume1 = right.Volume1;
68 Volume2 = right.Volume2;
69 theBorderSurfaceTable = right.theBorderSurfaceTable;
83 if (&right ==
this)
return *
this;
89 Volume1 = right.Volume1;
90 Volume2 = right.Volume2;
91 theBorderSurfaceTable = right.theBorderSurfaceTable;
114 return &theBorderSurfaceTable;
119 return theBorderSurfaceTable.size();
126 for (
size_t i=0; i<theBorderSurfaceTable.size(); i++)
128 if( (theBorderSurfaceTable[i]->
GetVolume1() == vol1) &&
129 (theBorderSurfaceTable[i]->GetVolume2() == vol2) )
130 return theBorderSurfaceTable[i];
139 G4cout <<
"***** Surface Table : Nb of Surfaces = "
142 for (
size_t i=0; i<theBorderSurfaceTable.size(); i++)
146 <<
" Border of volumes "
156 G4LogicalBorderSurfaceTable::iterator pos;
157 for(pos=theBorderSurfaceTable.begin();
158 pos!=theBorderSurfaceTable.end(); pos++)
160 if (*pos)
delete *pos;
162 theBorderSurfaceTable.clear();