Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
EdgeHash Struct Reference

Public Member Functions

std::size_t operator() (const EdgeKey &key) const
 

Detailed Description

Member Function Documentation

◆ operator()()

std::size_t EdgeHash::operator() ( const EdgeKey key) const
inline
50 {
51 std::size_t seed = 0;
52 seed ^= key.i0_ + 0x9e3779b9 + (seed<<6) + (seed>>2); // Copied from boost::hash_combine
53 seed ^= key.i1_ + 0x9e3779b9 + (seed<<6) + (seed>>2);
54 return std::hash<std::size_t>()(seed);
55 }
unsigned i1_
Definition marching_cubes.cpp:45
unsigned i0_
Definition marching_cubes.cpp:45

References EdgeKey::i0_, and EdgeKey::i1_.

Referenced by igl::copyleft::cgal::remesh_intersections().

+ Here is the caller graph for this function:

The documentation for this struct was generated from the following file: