pyg4ometry.geant4.solid.ExtrudedSolid¶
Classes¶
Construct an extruded solid |
Module Contents¶
- class pyg4ometry.geant4.solid.ExtrudedSolid.ExtrudedSolid(name, pPolygon, pZslices, registry, lunit='mm', addRegistry=True)¶
Bases:
pyg4ometry.geant4.solid.SolidBase.SolidBaseConstruct an extruded solid
- Parameters:
Example: Triangular prism with 2 slices pPoligon = [[x1,y1],[x2,y2],[x3,y3]] - vertices of polygon in clockwise order zSlices = [[z1,[offsx1, offsy1],scale1],[z2,[offsx2, offsy2],scale2]]
- lunit¶
- dependents = []¶
- varNames = ['pPolygon', 'pZslices']¶
- varUnits = ['lunit', 'lunit']¶
- __repr__()¶
- __str__()¶
- polygon_area(vertices)¶
- evaluateParameterWithUnits(varName)¶
- mesh()¶