Commit 8a26487a authored by Jan Möbius's avatar Jan Möbius

Added hash functions

parent 46aed2c4
Pipeline #2156 passed with stage
in 78 minutes and 33 seconds
......@@ -608,6 +608,10 @@ const LHS mesh_cast(const PolyMeshT<KERNEL> *rhs) {
return MeshCast<LHS, const PolyMeshT<KERNEL>*>::cast(rhs);
}
inline size_t hash_value(const VertexHandle& i) { return i.idx(); }
inline size_t hash_value(const HalfedgeHandle& i) { return i.idx(); }
inline size_t hash_value(const FaceHandle& i) { return i.idx(); }
//=============================================================================
} // namespace OpenMesh
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment