pyg4ometry.geant4.solid.GenericPolyhedra¶
Classes¶
Constructs a solid of rotation using an arbitrary 2D surface defined by a series of (r,z) coordinates. |
Module Contents¶
- class pyg4ometry.geant4.solid.GenericPolyhedra.GenericPolyhedra(name, pSPhi, pDPhi, numSide, pR, pZ, registry, lunit='mm', aunit='rad', addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a solid of rotation using an arbitrary 2D surface defined by a series of (r,z) coordinates.
- Parameters:
name (str) – name
pSPhi (float, Constant, Quantity, Variable, Expression) – angle Phi at start of rotation
pDPhi (float, Constant, Quantity, Variable, Expression) – angle Phi at end of rotation
numSide (float, Constant, Quantity, Variable, Expression) – number of polygon sides
pR (list of float, Constant, Quantity, Variable, Expression) – r coordinate list
pZ (list of float, Constant, Quantity, Variable, Expression) – z coordinate list
- pSPhi¶
- pDPhi¶
- numSide¶
- pR¶
- pZ¶
- lunit¶
- aunit¶
- varNames = ['pSPhi', 'pDPhi', 'numSide', 'pR', 'pZ']¶
- varUnits = ['aunit', 'aunit', None, 'lunit', 'lunit']¶
- dependents = []¶
- __repr__()¶
- __str__()¶
- checkParameters()¶
- mesh()¶