Vertex

class m3sh.hds.Vertex(index, parent=None)[source]

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 point property .

Parameters:
  • index (int) – Vertex index.

  • parent (Mesh, optional) – The parent mesh object.

Note

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

boundary

Topological state.

degree

Vertex degree.

deleted

Internal state.

flags

Vertex flags.

halfedge

Outward pointing halfedge.

index

Vertex index.

isolated

Topological state.

point

Vertex coordinates.

Special methods

__index__()

Vertex index.

__int__()

Vertex index.