Function gamer::getValence

Function Documentation

std::size_t gamer::getValence(const SurfaceMesh &mesh, const SurfaceMesh::SimplexID<1> vertexID)

Gets the number of edges connected to a vertex.

Return

The valence.

Parameters
  • [in] mesh: The mesh

  • [in] vertexID: The vertex id