pyg4ometry.geant4.solid.TessellatedSolid¶
Classes¶
Constructs a tessellated solid |
Functions¶
|
Args: |
Module Contents¶
- class pyg4ometry.geant4.solid.TessellatedSolid.TessellatedSolid(name, meshTess, registry, meshtype=MeshType.Freecad, addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstructs a tessellated solid
- Parameters:
- meshtype¶
- dependents = []¶
- varNames = []¶
- varUnits = []¶
- __repr__()¶
- __str__()¶
- addVertex(vertex)¶
- addTriangle(triangle)¶
- removeDuplicateVertices()¶
- mesh()¶
- pyg4ometry.geant4.solid.TessellatedSolid.createTessellatedSolid(name, polygons, reg)¶
- Args:
name: Name of the tessallated solid polygons: list of polygons (list of points given in clockwise order). All polygons should have the same number of points. reg: registry
Returns: TessellatedSolid