00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef __GLG4TESTSOLID_HH__
00014 #define __GLG4TESTSOLID_HH__ 1
00015
00016 #include "globals.hh"
00017 #include "G4ThreeVector.hh"
00018
00019 class G4VSolid;
00020 class G4VisExtent;
00021 class G4VoxelLimits;
00022 class G4AffineTransform;
00023
00024 class GLG4TestSolid {
00025 public:
00026 static G4String Test(const G4VSolid &s, G4int npair);
00027
00028 static G4String TestRay(const G4VSolid &s,
00029 const G4ThreeVector &p,
00030 const G4ThreeVector &v,
00031 G4double checkTolerance);
00032
00033 static G4String TestAtSurface(const G4VSolid &s,
00034 const G4ThreeVector &p1,
00035 G4double checkTolerance);
00036
00037 static void ResetRandomPointSeed(G4int newiseed);
00038
00039 static G4ThreeVector PickRandomPoint(G4VisExtent &ve,
00040 G4int itype= -1);
00041 };
00042
00043 #endif