pyg4ometry.geant4.solid.Tet

Classes

Tet

Constructs a tetrahedra.

Module Contents

class pyg4ometry.geant4.solid.Tet.Tet(name, anchor, p2, p3, p4, registry, lunit='mm', degeneracyFlag=False, addRegistry=True)

Bases: pyg4ometry.geant4.solid.SolidBase.SolidBase

Constructs a tetrahedra.

Parameters:
  • name – of the solid

  • anchor (list) – point 1 (anchor point)

  • p2 (list) – point 2

  • p3 (list) – point 3

  • p4 (list) – point 4

  • registry (Registry) – for storing solid

  • lunit (str) – length unit (nm,um,mm,m,km) for solid

  • degeneracyFlag – bool, indicates degeneracy of points

anchor
p2
p3
p4
lunit
degen
dependents = []
varNames = ['anchor', 'p2', 'p3', 'p4']
varUnits = ['lunit', 'lunit', 'lunit', 'lunit']
__repr__()
__str__()
mesh()