pyg4ometry.geant4.solid.GenericPolyhedra

Classes

GenericPolyhedra

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.SolidBase

Constructs a solid of rotation using an arbitrary 2D surface defined by a series of (r,z) coordinates.

Parameters:
pSPhi
pDPhi
numSide
pR
pZ
lunit
aunit
varNames = ['pSPhi', 'pDPhi', 'numSide', 'pR', 'pZ']
varUnits = ['aunit', 'aunit', None, 'lunit', 'lunit']
dependents = []
__repr__()
__str__()
checkParameters()
mesh()