pyg4ometry.geant4.solid.Polyhedra¶
Classes¶
Constructs a polyhedra. |
Module Contents¶
- class pyg4ometry.geant4.solid.Polyhedra.Polyhedra(name, pSPhi, pDPhi, numSide, numZPlanes, zPlane, rInner, rOuter, registry, lunit='mm', aunit='rad', addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a polyhedra.
- Parameters:
name (str) – of solid
pSPhi (float, Constant, Quantity, Variable, Expression) – start phi angle
pDPhi (float, Constant, Quantity, Variable, Expression) – delta phi angle
numSide (int) – number of sides
numZPlanes (int) – number of planes along z
zPlane (list of float, Constant, Quantity, Variable, Expression) – position of z planes
rInner (list of float, Constant, Quantity, Variable, Expression) – tangent distance to inner surface per z plane
rOuter (list of float, Constant, Quantity, Variable, Expression) – tangent distance to outer surface per z plane
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
aunit (str) – angle unit (rad,deg) for solid
- pSPhi¶
- pDPhi¶
- numSide¶
- numZPlanes¶
- zPlane¶
- rInner¶
- rOuter¶
- lunit¶
- aunit¶
- varNames = ['pSPhi', 'pDPhi', 'numSide', 'numZPlanes', 'zPlane', 'rInner', 'rOuter']¶
- varUnits = ['aunit', 'aunit', None, None, 'lunit', 'lunit', 'lunit']¶
- dependents = []¶
- __repr__()¶
- __str__()¶
- mesh()¶