pyg4ometry.geant4.solid.Box¶
Classes¶
Constructs a box. Note the lengths are full lengths and not half lengths as in Geant4 |
Functions¶
|
Module Contents¶
- pyg4ometry.geant4.solid.Box.cubeNet(vecList)¶
- class pyg4ometry.geant4.solid.Box.Box(name, pX, pY, pZ, registry, lunit='mm', addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a box. Note the lengths are full lengths and not half lengths as in Geant4
- Parameters:
name (str) – of solid for registry
pX (float, Constant, Quantity, Variable, Expression) – length along x
pY (float, Constant, Quantity, Variable, Expression) – length along y
pZ (float, Constant, Quantity, Variable, Expression) – length along z
registry (Registry) – for storing solid
lunit (str) – length unit (nm,um,mm,m,km) for solid
- lunit¶
- dependents = []¶
- varNames = ['pX', 'pY', 'pZ']¶
- varUnits = ['lunit', 'lunit', 'lunit']¶
- __repr__()¶
- __str__()¶
- mesh()¶