51 G4VSolid(pName), fAreaRatio(0.), fStatistics(1000000), fCubVolEpsilon(0.001),
52 fAreaAccuracy(-1.), fCubicVolume(0.), fSurfaceArea(0.),
53 fpPolyhedron(0), createdDisplacedSolid(false)
68 G4VSolid(pName), fAreaRatio(0.), fStatistics(1000000), fCubVolEpsilon(0.001),
69 fAreaAccuracy(-1.), fCubicVolume(0.), fSurfaceArea(0.),
70 fpPolyhedron(0), createdDisplacedSolid(true)
84 G4VSolid(pName), fAreaRatio(0.), fStatistics(1000000), fCubVolEpsilon(0.001),
85 fAreaAccuracy(-1.), fCubicVolume(0.), fSurfaceArea(0.),
86 fpPolyhedron(0), createdDisplacedSolid(true)
98 :
G4VSolid(a), fPtrSolidA(0), fPtrSolidB(0), fAreaRatio(0.),
99 fStatistics(1000000), fCubVolEpsilon(0.001),
100 fAreaAccuracy(-1.), fCubicVolume(0.), fSurfaceArea(0.),
101 fpPolyhedron(0), createdDisplacedSolid(false)
111 if(createdDisplacedSolid)
123 :
G4VSolid (rhs), fPtrSolidA(rhs.fPtrSolidA), fPtrSolidB(rhs.fPtrSolidB),
124 fAreaRatio(rhs.fAreaRatio),
125 fStatistics(rhs.fStatistics), fCubVolEpsilon(rhs.fCubVolEpsilon),
126 fAreaAccuracy(rhs.fAreaAccuracy), fCubicVolume(rhs.fCubicVolume),
127 fSurfaceArea(rhs.fSurfaceArea), fpPolyhedron(0),
128 createdDisplacedSolid(rhs.createdDisplacedSolid)
140 if (
this == &rhs) {
return *
this; }
150 fStatistics= rhs.fStatistics; fCubVolEpsilon= rhs.fCubVolEpsilon;
151 fAreaAccuracy= rhs.fAreaAccuracy; fCubicVolume= rhs.fCubicVolume;
152 fSurfaceArea= rhs.fSurfaceArea; fpPolyhedron= 0;
153 createdDisplacedSolid= rhs.createdDisplacedSolid;
174 G4Exception(
"G4BooleanSolid::GetConstituentSolid()",
197 G4Exception(
"G4BooleanSolid::GetConstituentSolid()",
219 os <<
"-----------------------------------------------------------\n"
220 <<
" *** Dump for Boolean solid - " <<
GetName() <<
" ***\n"
221 <<
" ===================================================\n"
223 <<
" Parameters of constituent solids: \n"
224 <<
"===========================================================\n";
227 os <<
"===========================================================\n";
280 if (type ==
"G4UnionSolid")
282 else if (type ==
"G4IntersectionSolid")
284 else if (type ==
"G4SubtractionSolid")
288 std::ostringstream message;
289 message <<
"Solid - " << solid->
GetName()
290 <<
" - Unrecognised composite solid" <<
G4endl
291 <<
" Returning NULL !";
309 processor.
push_back (operation, *operand);