VolMesh.vertex_neighborhood
-
VolMesh.
vertex_neighborhood
(vertex, ring=1) Return the vertices in the neighborhood of a vertex.
- Parameters
vertex (int) – The identifier of the vertex.
ring (int, optional) – The number of neighborhood rings to include. Default is
1
.
- Returns
list – The vertices in the neighborhood.
Notes
The vertices in the neighborhood are unordered.
Examples
>>>