SurgSim::DataStructures::OctreePathHash Class Reference

Enable the OctreePath to be used as a key in an unordered map, if the int range is exceeded this will just push the least significant numbers (root addresses) out of scope, it loses a little bit of address space as octree ids only go from 0-7. More...

`#include <SurgSim/DataStructures/OctreeNode.h>`

## Public Member Functions

size_t | operator() (const OctreePath &path) const

## Private Attributes

std::hash< size_t > | m_hasher

## Detailed Description

Enable the OctreePath to be used as a key in an unordered map, if the int range is exceeded this will just push the least significant numbers (root addresses) out of scope, it loses a little bit of address space as octree ids only go from 0-7.

## Member Function Documentation

## operator()()

size_t SurgSim::DataStructures::OctreePathHash::operator() | ( | const OctreePath & | path | ) | const

inline

## Member Data Documentation

## m_hasher

std::hash<size_t> SurgSim::DataStructures::OctreePathHash::m_hasher

private

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

- SurgSim/DataStructures/OctreeNode.h