Cell.vertex_neighborhood_centroid

Cell.vertex_neighborhood_centroid(key)

Compute the centroid of the neighbors of a vertex.

Parameters

key (int) – The identifier of the vertex.

Returns

list[float] – The coordinates of the centroid.