Mesh3gs.vertex_degree

Mesh3gs.vertex_degree(key)

Count the neighbors of a vertex.

Parameters

key (int) – The identifier of the vertex.

Returns

int – The degree of the vertex.