HalfFace.vertex_degree
-
HalfFace.
vertex_degree
(vertex)[source] Count the neighbors of a vertex.
- Parameters
vertex (int) – The identifier of the vertex.
- Returns
int – The degree of the vertex.
HalfFace.
vertex_degree
(vertex)[source]Count the neighbors of a vertex.
vertex (int) – The identifier of the vertex.
int – The degree of the vertex.