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