Add missing hash value function for Seam_mesh's edges

This commit is contained in:
Mael Rouxel-Labbé 2020-03-05 11:30:29 +01:00
parent 2d1f3266ea
commit aa331c0f14
1 changed files with 5 additions and 0 deletions

View File

@ -439,6 +439,11 @@ public:
{
return ! (e1 == e2);
}
friend std::size_t hash_value(const edge_descriptor ed)
{
return hash_value((std::min)(ed.hd, ed.mesh_->opposite(ed.hd)));
}
};
#ifndef DOXYGEN_RUNNING