Geant4
10.01
|
#include <G4UPolyhedra.hh>
Additional Inherited Members | |
Protected Member Functions inherited from G4USolid | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pT) const |
Protected Member Functions inherited from G4VSolid | |
void | CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const |
G4double | EstimateCubicVolume (G4int nStat, G4double epsilon) const |
G4double | EstimateSurfaceArea (G4int nStat, G4double ell) const |
Protected Attributes inherited from G4USolid | |
VUSolid * | fShape |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Definition at line 55 of file G4UPolyhedra.hh.
G4UPolyhedra::G4UPolyhedra | ( | const G4String & | name, |
G4double | phiStart, | ||
G4double | phiTotal, | ||
G4int | numSide, | ||
G4int | numZPlanes, | ||
const G4double | zPlane[], | ||
const G4double | rInner[], | ||
const G4double | rOuter[] | ||
) |
Definition at line 44 of file G4UPolyhedra.cc.
Referenced by Clone().
G4UPolyhedra::G4UPolyhedra | ( | const G4String & | name, |
G4double | phiStart, | ||
G4double | phiTotal, | ||
G4int | numSide, | ||
G4int | numRZ, | ||
const G4double | r[], | ||
const G4double | z[] | ||
) |
Definition at line 62 of file G4UPolyhedra.cc.
G4UPolyhedra::~G4UPolyhedra | ( | ) |
Definition at line 90 of file G4UPolyhedra.cc.
G4UPolyhedra::G4UPolyhedra | ( | __void__ & | a | ) |
Definition at line 80 of file G4UPolyhedra.cc.
G4UPolyhedra::G4UPolyhedra | ( | const G4UPolyhedra & | source | ) |
Definition at line 99 of file G4UPolyhedra.cc.
|
virtual |
Reimplemented from G4USolid.
Definition at line 136 of file G4UPolyhedra.cc.
References G4UPolyhedra().
|
virtual |
Reimplemented from G4USolid.
Definition at line 124 of file G4UPolyhedra.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
Creates user defined polyhedron. This function allows to the user to define arbitrary polyhedron. The faces of the polyhedron should be either triangles or planar quadrilateral. Nodes of a face are defined by indexes pointing to the elements in the xyz array. Numeration of the elements in the array starts from 1 (like in fortran). The indexes can be positive or negative. Negative sign means that the corresponding edge is invisible. The normal of the face should be directed to exterior of the polyhedron.
Nnodes | number of nodes |
Nfaces | number of faces |
xyz | nodes |
faces_vec | faces (quadrilaterals or triangles) |
Reimplemented from G4USolid.
Definition at line 146 of file G4UPolyhedra.cc.
References a, A, ab, G4Exception(), GetCorner(), GetEndPhi(), G4VSolid::GetName(), GetNumRZCorner(), GetNumSide(), GetOriginalParameters(), GetStartPhi(), IsGeneric(), IsOpen(), JustWarning, G4VSolid::kCarTolerance, G4PolyhedraSideRZ::r, and G4PolyhedraSideRZ::z.
|
inline |
Definition at line 144 of file G4UPolyhedra.hh.
References UPolyhedra::GetCorner(), GetShape(), UPolyhedraSideRZ::r, and UPolyhedraSideRZ::z.
Referenced by CreatePolyhedron().
|
inline |
Definition at line 128 of file G4UPolyhedra.hh.
References UPolyhedra::GetEndPhi(), and GetShape().
Referenced by CreatePolyhedron().
|
inline |
Definition at line 140 of file G4UPolyhedra.hh.
References UPolyhedra::GetNumRZCorner(), and GetShape().
Referenced by CreatePolyhedron().
|
inline |
Definition at line 120 of file G4UPolyhedra.hh.
References UPolyhedra::GetNumSide(), and GetShape().
Referenced by CreatePolyhedron().
|
inline |
Definition at line 151 of file G4UPolyhedra.hh.
References UPolyhedraHistorical::fNumSide, UPolyhedraHistorical::fNumZPlanes, UPolyhedraHistorical::fOpeningAngle, UPolyhedraHistorical::fStartAngle, UPolyhedraHistorical::fZValues, UPolyhedra::GetOriginalParameters(), GetShape(), G4PolyhedraHistorical::numSide, G4PolyhedraHistorical::Opening_angle, UPolyhedraHistorical::Rmax, G4PolyhedraHistorical::Rmax, UPolyhedraHistorical::Rmin, G4PolyhedraHistorical::Rmin, G4PolyhedraHistorical::Start_angle, and G4PolyhedraHistorical::Z_values.
Referenced by CreatePolyhedron().
|
inline |
Definition at line 115 of file G4UPolyhedra.hh.
References G4USolid::fShape.
Referenced by GetCorner(), GetEndPhi(), GetNumRZCorner(), GetNumSide(), GetOriginalParameters(), GetStartPhi(), IsGeneric(), IsOpen(), Reset(), and SetOriginalParameters().
|
inline |
Definition at line 124 of file G4UPolyhedra.hh.
References GetShape(), and UPolyhedra::GetStartPhi().
Referenced by CreatePolyhedron().
|
inline |
Definition at line 136 of file G4UPolyhedra.hh.
References GetShape(), and UPolyhedra::IsGeneric().
Referenced by CreatePolyhedron().
|
inline |
Definition at line 132 of file G4UPolyhedra.hh.
References GetShape(), and UPolyhedra::IsOpen().
Referenced by CreatePolyhedron().
G4UPolyhedra & G4UPolyhedra::operator= | ( | const G4UPolyhedra & | source | ) |
Definition at line 109 of file G4UPolyhedra.cc.
References G4USolid::operator=().
|
inline |
Definition at line 181 of file G4UPolyhedra.hh.
References GetShape(), and UPolyhedra::Reset().
|
inline |
Definition at line 166 of file G4UPolyhedra.hh.
References UPolyhedraHistorical::fNumSide, UPolyhedraHistorical::fNumZPlanes, UPolyhedraHistorical::fOpeningAngle, G4USolid::fRebuildPolyhedron, UPolyhedraHistorical::fStartAngle, UPolyhedraHistorical::fZValues, UPolyhedra::GetOriginalParameters(), GetShape(), G4PolyhedraHistorical::Num_z_planes, G4PolyhedraHistorical::numSide, G4PolyhedraHistorical::Opening_angle, UPolyhedraHistorical::Rmax, G4PolyhedraHistorical::Rmax, UPolyhedraHistorical::Rmin, G4PolyhedraHistorical::Rmin, G4PolyhedraHistorical::Start_angle, and G4PolyhedraHistorical::Z_values.