TaggedLine#
- class planestress.pre.mesh.TaggedLine(tag: int, tagged_nodes: list[TaggedNode], elements: list[LineElement])[source]#
Bases:
TaggedEntity
Class describing a tagged line.
- Parameters:
tag (int) – Gmsh line tag.
tagged_nodes (list[TaggedNode]) – List
TaggedNode
objects at each end of line.elements (list[LineElement]) – List of
FiniteElement
objects along the line.
Methods
Converts the tagged line to a
shapely
Line
object.Attributes
tag
tagged_nodes
elements
- to_shapely_line() LineString [source]#
Converts the tagged line to a
shapely
Line
object.- Returns:
TaggedLine
as ashapely.LineString
.- Return type: