m3sh.hds.
Vertex#
- class Vertex(index, parent=None)#
Vertex base class.
Vertices are considered as abstract topological entities. Vertex coordinates are assigned when a vertex becomes part of a mesh. Its coordinates can then be accessed via the
pointproperty .- Parameters:
- indexint
Vertex index.
- parentMesh, optional
The parent mesh object.
Notes
In addition to
index, implementations of the special functions__int__()and__index__()are provided. The latter makes it possible to use vertex instances as list indices.Attributes