Blender
V3.3
|
Public Member Functions | |
OrderedEdge (const int v1, const int v2) | |
OrderedEdge (const uint v1, const uint v2) | |
uint64_t | hash () const |
uint64_t | hash2 () const |
Public Attributes | |
int | v_low |
int | v_high |
Friends | |
bool | operator== (const OrderedEdge &e1, const OrderedEdge &e2) |
This is used to uniquely identify edges in a hash map.
Definition at line 22 of file mesh_calc_edges.cc.
|
inline |
Definition at line 37 of file mesh_calc_edges.cc.
|
inline |
Definition at line 42 of file mesh_calc_edges.cc.
References v_high.
|
inline |
Return a hash value that is likely to be different in the low bits from the normal hash()
function. This is necessary to avoid collisions in BKE_mesh_calc_edges.
Definition at line 49 of file mesh_calc_edges.cc.
References v_low.
|
friend |
Definition at line 54 of file mesh_calc_edges.cc.
int blender::bke::calc_edges::OrderedEdge::v_high |
Definition at line 23 of file mesh_calc_edges.cc.
Referenced by hash(), and OrderedEdge().
int blender::bke::calc_edges::OrderedEdge::v_low |
Definition at line 23 of file mesh_calc_edges.cc.
Referenced by hash2(), and OrderedEdge().