mirror of https://github.com/CGAL/cgal
Add missing hash value function for Seam_mesh's edges
This commit is contained in:
parent
2d1f3266ea
commit
aa331c0f14
|
|
@ -439,6 +439,11 @@ public:
|
||||||
{
|
{
|
||||||
return ! (e1 == e2);
|
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
|
#ifndef DOXYGEN_RUNNING
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue