VolMesh.vertex_degree
- VolMesh.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.
Count the neighbors of a vertex.
vertex (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-2021 compas-dev