iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | List of all members
std::hash< imstk::TriCell > Struct Template Reference

Gives a hashing function for triangles that results in identical hashes for any ordering of ids hash(0,1,2)=hash(1,2,0) and is well distributed (avoids collisions) More...

#include <imstkSurfaceMesh.h>

Public Member Functions

std::size_t operator() (const imstk::TriCell &k) const
 

Detailed Description

template<>
struct std::hash< imstk::TriCell >

Gives a hashing function for triangles that results in identical hashes for any ordering of ids hash(0,1,2)=hash(1,2,0) and is well distributed (avoids collisions)

Definition at line 77 of file imstkSurfaceMesh.h.


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