50{
51 std::ostringstream message;
52#ifdef G4MULTITHREADED
53 message << "Divisions for G4Polyhedra currently NOT supported in MT-mode."
55 <<
"Sorry! Solid: " << msolid->
GetName();
56 G4Exception(
"G4VParameterisationPolyhedra::G4VParameterisationPolyhedra()",
58#endif
59
62 {
63 message <<
"Generic construct for G4Polyhedra NOT supported." <<
G4endl
64 <<
"Sorry! Solid: " << msol->
GetName();
65 G4Exception(
"G4VParameterisationPolyhedra::G4VParameterisationPolyhedra()",
67 }
69 {
70
71
75
76
77
83
84
85
89 for (
G4int i=0; i<nofZplanes; ++i)
90 {
91 rminValues2[i] = rminValues[i] * ConvertRadiusFactor(*msol);
92 rmaxValues2[i] = rmaxValues[i] * ConvertRadiusFactor(*msol);
93 zValuesRefl[i] = - zValues[i];
94 }
95
100 nofSides,
101 nofZplanes, zValuesRefl, rminValues2, rmaxValues2);
102
103 delete [] rminValues2;
104 delete [] rmaxValues2;
105 delete [] zValuesRefl;
106
107 msol = newSolid;
111 }
112}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4double GetEndPhi() const
G4PolyhedraHistorical * GetOriginalParameters() const
G4double GetStartPhi() const
virtual G4GeometryType GetEntityType() const =0