pyg4ometry.geant4.solid.Polycone¶
Classes¶
Constructs a solid of rotation using an arbitrary 2D surface. |
Module Contents¶
- class pyg4ometry.geant4.solid.Polycone.Polycone(name, pSPhi, pDPhi, pZpl, pRMin, pRMax, registry, lunit='mm', aunit='rad', nslice=None, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a solid of rotation using an arbitrary 2D surface.
- Parameters:
name (str) – of the solid
pSPhi (float, Constant, Quantity, Variable, Expression) – starting rotation angle in radians
pDPhi (float, Constant, Quantity, Variable, Expression) – total rotation angle in radius
pZPlns (list of float, Constant, Quantity, Variable, Expression) – z-positions of planes used
pRInr (list of float, Constant, Quantity, Variable, Expression) – inner radii of surface at each z-plane
pROut (list of float, Constant, Quantity, Variable, Expression) – outer radii of surface at each 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
nslice (int) – number of phi elements for meshing
Optional registration as this solid is used as a temporary solid in Polyhedra and needn’t be always registered.
- pSPhi¶
- pDPhi¶
- pZpl¶
- pRMin¶
- pRMax¶
- lunit¶
- aunit¶
- nslice¶
- dependents = []¶
- varNames = ['pSPhi', 'pDPhi', 'pZpl', 'pRMin', 'pRMax']¶
- varUnits = ['aunit', 'aunit', 'lunit', 'lunit', 'lunit']¶
- __repr__()¶
- __str__()¶
- mesh()¶