130 if (
this == &rhs) {
return *
this; }
154 pTransform, pMin, pMax );
201 G4cout <<
"WARNING - Invalid call [1] in "
202 <<
"G4SubtractionSolid::SurfaceNormal(p)" <<
G4endl
203 <<
" Point p is inside !" <<
G4endl;
205 G4cerr <<
"WARNING - Invalid call [1] in "
206 <<
"G4SubtractionSolid::SurfaceNormal(p)" << G4endl
207 <<
" Point p is inside !" <<
G4endl;
236 G4cout <<
"WARNING - Invalid call [2] in "
237 <<
"G4SubtractionSolid::SurfaceNormal(p)" <<
G4endl
238 <<
" Point p is inside !" <<
G4endl;
240 G4cerr <<
"WARNING - Invalid call [2] in "
241 <<
"G4SubtractionSolid::SurfaceNormal(p)" << G4endl
242 <<
" Point p is inside !" <<
G4endl;
264 G4cout <<
"WARNING - Invalid call in "
265 <<
"G4SubtractionSolid::DistanceToIn(p,v)" <<
G4endl
266 <<
" Point p is inside !" <<
G4endl;
269 G4cerr <<
"WARNING - Invalid call in "
270 <<
"G4SubtractionSolid::DistanceToIn(p,v)" << G4endl
271 <<
" Point p is inside !" <<
G4endl;
289 if(disTmp == kInfinity)
306 ->GetConstituentMovedSolid()->GetName();
308 std::ostringstream message;
309 message <<
"Illegal condition caused by solids: "
311 message.precision(16);
312 message <<
"Looping detected in point " << p+dist*v
313 <<
", from original point " << p
314 <<
" and direction " << v << G4endl
315 <<
"Computed candidate distance: " << dist <<
"*mm.";
316 message.precision(6);
318 G4Exception(
"G4SubtractionSolid::DistanceToIn(p,v)",
320 "Returning candidate distance.");
332 if( dist == kInfinity )
348 if(disTmp == kInfinity)
360 ->GetConstituentMovedSolid()->GetName();
362 std::ostringstream message;
363 message <<
"Illegal condition caused by solids: "
365 message.precision(16);
366 message <<
"Looping detected in point " << p+dist*v
367 <<
", from original point " << p
368 <<
" and direction " << v << G4endl
369 <<
"Computed candidate distance: " << dist <<
"*mm.";
370 message.precision(6);
372 G4Exception(
"G4SubtractionSolid::DistanceToIn(p,v)",
399 G4cout <<
"WARNING - Invalid call in "
400 <<
"G4SubtractionSolid::DistanceToIn(p)" <<
G4endl
401 <<
" Point p is inside !" <<
G4endl;
403 G4cerr <<
"WARNING - Invalid call in "
404 <<
"G4SubtractionSolid::DistanceToIn(p)" << G4endl
405 <<
" Point p is inside !" <<
G4endl;
445 G4cout <<
"WARNING - Invalid call in "
446 <<
"G4SubtractionSolid::DistanceToOut(p,v)" << G4endl
447 <<
" Point p is outside !" <<
G4endl;
450 G4cerr <<
"WARNING - Invalid call in "
451 <<
"G4SubtractionSolid::DistanceToOut(p,v)" << G4endl
452 <<
" Point p is outside !" <<
G4endl;
489 G4cout <<
"WARNING - Invalid call in "
490 <<
"G4SubtractionSolid::DistanceToOut(p)" <<
G4endl
491 <<
" Point p is outside" <<
G4endl;
493 G4cerr <<
"WARNING - Invalid call in "
494 <<
"G4SubtractionSolid::DistanceToOut(p)" << G4endl
495 <<
" Point p is outside" <<
G4endl;
513 return G4String(
"G4SubtractionSolid");
558 if (processor.
execute(*result)) {
return result; }