ForceVolMesh.vertex_degree

ForceVolMesh.vertex_degree(vertex)

Count the neighbors of a vertex.

Parameters

vertex (int) – The identifier of the vertex.

Returns

int – The degree of the vertex.