Function octomap::computeChildKey

Function Documentation

inline void octomap::computeChildKey(unsigned int pos, key_type center_offset_key, const OcTreeKey &parent_key, OcTreeKey &child_key)

Computes the key of a child node while traversing the octree, given child index and current key

Parameters:
  • pos[in] index of child node (0..7)

  • center_offset_key[in] constant offset of octree keys

  • parent_key[in] current (parent) key

  • child_key[out] computed child key