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

to_shapely_line

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 a shapely.LineString.

Return type:

LineString