48 fCarTolerance = 1E-9 * mm;
49 fAngTolerance = 1E-9 * rad;
50 fRadTolerance = 1E-9 * mm;
66 if(fpInstance ==
nullptr)
102 fCarTolerance = fRadTolerance = worldExtent * 1E-11;
107 G4cout <<
"WARNING - G4GeometryTolerance::SetSurfaceTolerance()" <<
G4endl
108 <<
" Tolerance can only be set once. Currently set to: "
109 << fCarTolerance / mm <<
" mm." <<
G4endl;
110 G4Exception(
"G4GeometryTolerance::SetSurfaceTolerance()",
"NotApplicable",
111 JustWarning,
"The tolerance has been already set!");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4double GetSurfaceTolerance() const
G4double GetRadialTolerance() const
void SetSurfaceTolerance(G4double worldExtent)
static G4GeometryTolerance * GetInstance()
G4double GetAngularTolerance() const