ForceVolMesh.vertex_neighborhood_centroid

ForceVolMesh.vertex_neighborhood_centroid(vertex)

Compute the centroid of the neighbors of a vertex.

Parameters

vertex (int) – The identifier of the vertex.

Returns

list – The coordinates of the centroid.