Mesh.vertex_degree
-
Mesh.
vertex_degree
(key) Count the neighbors of a vertex.
- Parameters
key (int) – The identifier of the vertex.
- Returns
int – The degree of the vertex.
Mesh.
vertex_degree
(key)Count the neighbors of a vertex.
key (int) – The identifier of the vertex.
int – The degree of the vertex.
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2020 compas-dev