It seems that the R-tree in Boost does not support hierarchy traverse.
To be specific, I want to get root
node of the R-tree, and then get the children of the node.
Does Boost R-tree support hierarchy traverse ?
It seems that the R-tree in Boost does not support hierarchy traverse.
To be specific, I want to get root
node of the R-tree, and then get the children of the node.
Does Boost R-tree support hierarchy traverse ?
In case this was XY problem. What would you like to do exactly?
Regarding your question. User-defined tree traversal is not officially supported. However if you're not affraid to dig in the internals then you could write your own node visitor, like this one:
And use it like this: