51 #include "HepPolyhedronProcessor.h"
126 if (
this == &rhs) {
return *
this; }
146 G4bool touchesA, touchesB, out ;
151 pTransform, minA, maxA);
153 pTransform, minB, maxB);
154 if( touchesA || touchesB )
208 G4cout <<
"WARNING - Invalid call in "
209 <<
"G4UnionSolid::SurfaceNormal(p)" <<
G4endl
210 <<
" Point p is outside !" <<
G4endl;
212 G4cerr <<
"WARNING - Invalid call in "
213 <<
"G4UnionSolid::SurfaceNormal(p)" << G4endl
214 <<
" Point p is outside !" <<
G4endl;
234 G4cout <<
"WARNING - Invalid call in "
235 <<
"G4UnionSolid::SurfaceNormal(p)" <<
G4endl
236 <<
" Point p is inside !" <<
G4endl;
238 G4cerr <<
"WARNING - Invalid call in "
239 <<
"G4UnionSolid::SurfaceNormal(p)" << G4endl
240 <<
" Point p is inside !" <<
G4endl;
259 G4cout <<
"WARNING - Invalid call in "
260 <<
"G4UnionSolid::DistanceToIn(p,v)" <<
G4endl
261 <<
" Point p is inside !" <<
G4endl;
264 G4cerr <<
"WARNING - Invalid call in "
265 <<
"G4UnionSolid::DistanceToIn(p,v)" << G4endl
266 <<
" Point p is inside !" <<
G4endl;
287 G4cout <<
"WARNING - Invalid call in "
288 <<
"G4UnionSolid::DistanceToIn(p)" <<
G4endl
289 <<
" Point p is inside !" <<
G4endl;
291 G4cerr <<
"WARNING - Invalid call in "
292 <<
"G4UnionSolid::DistanceToIn(p)" << G4endl
293 <<
" Point p is inside !" <<
G4endl;
300 if(safety < 0.0) safety = 0.0 ;
330 G4cout <<
"WARNING - Invalid call in "
331 <<
"G4UnionSolid::DistanceToOut(p,v)" << G4endl
332 <<
" Point p is outside !" <<
G4endl;
335 G4cerr <<
"WARNING - Invalid call in "
336 <<
"G4UnionSolid::DistanceToOut(p,v)" << G4endl
337 <<
" Point p is outside !" <<
G4endl;
403 G4cout <<
"WARNING - Invalid call in "
404 <<
"G4UnionSolid::DistanceToOut(p)" <<
G4endl
405 <<
" Point p is outside !" <<
G4endl;
407 G4cerr <<
"WARNING - Invalid call in "
408 <<
"G4UnionSolid::DistanceToOut(p)" << G4endl
409 <<
" Point p is outside !" <<
G4endl;
494 if (processor.execute(*result)) {
return result; }
virtual G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const =0
static const G4double kInfinity
CLHEP::Hep3Vector G4ThreeVector
EInside Inside(const G4ThreeVector &p) const
CLHEP::HepRotation G4RotationMatrix
virtual void AddSolid(const G4Box &)=0
void DescribeYourselfTo(G4VGraphicsScene &scene) const
G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const
static double normal(HepRandomEngine *eptr)
G4GLOB_DLL std::ostream G4cout
G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const
virtual EInside Inside(const G4ThreeVector &p) const =0
G4double GetRadialTolerance() const
G4Polyhedron * CreatePolyhedron() const
virtual G4ThreeVector SurfaceNormal(const G4ThreeVector &p) const =0
G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const
virtual G4double DistanceToIn(const G4ThreeVector &p, const G4ThreeVector &v) const =0
G4bool CalculateExtent(const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pMin, G4double &pMax) const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
void ComputeDimensions(G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
T min(const T t1, const T t2)
brief Return the smallest of the two arguments
G4BooleanSolid & operator=(const G4BooleanSolid &rhs)
virtual G4double DistanceToOut(const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=false, G4bool *validNorm=0, G4ThreeVector *n=0) const =0
G4GeometryType GetEntityType() const
G4Polyhedron * StackPolyhedron(HepPolyhedronProcessor &, const G4VSolid *) const
static G4GeometryTolerance * GetInstance()
G4GLOB_DLL std::ostream G4cerr
G4UnionSolid & operator=(const G4UnionSolid &rhs)
G4UnionSolid(const G4String &pName, G4VSolid *pSolidA, G4VSolid *pSolidB)