|
| AGXCORE_EXPORT agx::UInt64 | agx::buildHashKey (agx::UInt32 id1, agx::UInt32 id2) |
| |
| template<typename T > |
| UInt32 | agx::hash (const T &key) |
| |
| UInt32 AGXCORE_EXPORT | agx::hash (UInt32 h1, UInt32 h2) |
| |
| UInt32 | agx::hash (UInt32 x, UInt32 y, UInt32 z) |
| |
| UInt32 | agx::hash (UInt64 x, UInt64 y, UInt64 z) |
| |
| UInt64 | agx::hash64 (UInt64 x, UInt64 y, UInt64 z) |
| |
| AGXCORE_EXPORT bool | agx::hashKeyContains (agx::UInt64 key, agx::UInt32 id) |
| |
| bool | agx::hashKeyEqual (char *key1, char *key2) |
| |
| bool | agx::hashKeyEqual (const char *key1, const char *key2) |
| |
| template<typename T1 , typename T2 > |
| bool | agx::hashKeyEqual (const T1 &key1, const T2 &key2) |
| |
| UInt64 | agx::spatialHash (double x, double eps) |
| | Hash function suitable for spatial hashing with configurable grid spacing eps.
|
| |
| UInt32 | agx::spatialHash (double x, double y, double z, double eps) |
| |
| UInt64 | agx::spatialHash64 (double x, double y, double z, double eps) |
| |
| AGXCORE_EXPORT void | agx::splitHashKey (agx::UInt64 key, agx::UInt32 &id1, agx::UInt32 &id2) |
| |
| UInt64 | agx::splitMix64 (UInt64 x) |
| | SplitMix64 pulls entropy from the high 32 bits to the low, which preserves more uniqueness performing the 64 -> 32 fold.
|
| |
| template<typename T > |
| UInt32 | agx::stringHash (const T &key, UInt32 startValue=0) |
| |