Find children of given R-Tree node

97 Views Asked by At

I need to know the hierarchy of my rtree. In particular, given a Node, I'd like to know its children.

I've seen that in this SO question there's a link to the following line in GitHub sources:

https://github.com/boostorg/geometry/blob/f92671b933e585ecba3c1b02c830f6e90e813da9/include/boost/geometry/index/detail/rtree/utilities/print.hpp#L160

where n is an InternalNode. From my understanding, it->first is the bounding box, while it->second is the indexable. However, I don't see how one can query the children of a specific node. Is there any way to find them?

I am completely stuck at the moment

0

There are 0 best solutions below