Function gamer::getValence

Function Documentation

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

Gets the number of edges connected to a vertex.

Parameters
  • mesh[in] The mesh

  • vertexID[in] The vertex id

Returns

The valence.