55 fCarTolerance = 1E-9*
mm;
56 fAngTolerance = 1E-9*
rad;
57 fRadTolerance = 1E-9*
mm;
111 fCarTolerance = fRadTolerance = worldExtent*1E-11;
116 G4cout <<
"WARNING - G4GeometryTolerance::SetSurfaceTolerance()" <<
G4endl
117 <<
" Tolerance can only be set once. Currently set to: "
118 << fCarTolerance/
mm <<
" mm." <<
G4endl;
119 G4Exception(
"G4GeometryTolerance::SetSurfaceTolerance()",
121 "The tolerance has been already set!");
static constexpr double mm
G4double GetSurfaceTolerance() const
static constexpr double rad
G4GLOB_DLL std::ostream G4cout
G4double GetRadialTolerance() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetSurfaceTolerance(G4double worldExtent)
G4double GetAngularTolerance() const
static G4GeometryTolerance * GetInstance()