pyg4ometry.geant4.solid.SolidBase

Classes

SolidBase

Base class for all solids

Module Contents

class pyg4ometry.geant4.solid.SolidBase.SolidBase(name, type, registry=None)

Base class for all solids

property name
type
registry
evaluateParameter(obj)
evaluateParameterWithUnits(varName)
_addProperty(attribute)
_setProperty(attribute, value)
_getProperty(attribute)
_twoPiValueCheck(attribute, aunit='rad')

Raises a ValueError if the attribute is over pyg4ometry.config.twoPiComparisonTolerance over 2 x pi.

conver2Tessellated()

return a TessellatedSolid instance based on the mesh of this solid.