#include <G4VTwistSurface.hh>
Definition at line 422 of file G4VTwistSurface.hh.
◆ Boundary()
| G4VTwistSurface::Boundary::Boundary |
( |
| ) |
|
|
default |
Internal class defining a surface boundary type.
◆ ~Boundary()
| virtual G4VTwistSurface::Boundary::~Boundary |
( |
| ) |
|
|
virtualdefault |
◆ GetBoundaryParameters()
Definition at line 1249 of file G4VTwistSurface.cc.
1253{
1254
1255
1256
1257
1258 if (((areacode &
sAxis0) != 0) && ((areacode &
sAxis1) != 0))
1259 {
1260 std::ostringstream message;
1261 message <<
"Located in the corner area." <<
G4endl
1262 << " This function returns a direction vector of "
1263 <<
"a boundary line." <<
G4endl
1264 << " areacode = " << areacode;
1265 G4Exception(
"G4VTwistSurface::Boundary::GetBoundaryParameters()",
1267 }
1269 {
1270 return false;
1271 }
1272 d = fBoundaryDirection;
1273 x0 = fBoundaryX0;
1274 boundarytype = fBoundaryType;
1275 return true;
1276}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static const G4int sAxis0
static const G4int sAxis1
static const G4int sSizeMask
◆ IsEmpty()
| G4bool G4VTwistSurface::Boundary::IsEmpty |
( |
| ) |
const |
◆ SetFields()
Definition at line 1226 of file G4VTwistSurface.cc.
1230{
1231 fBoundaryAcode = areacode;
1232 fBoundaryDirection = d;
1233 fBoundaryX0 = x0;
1234 fBoundaryType = boundarytype;
1235}
The documentation for this class was generated from the following files: