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

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

boundary

Topological state.

degree

Vertex degree.

deleted

Internal state.

halfedge

Outward pointing halfedge.

index

Vertex index.

isolated

Topological state.

point

Vertex coordinates.