template<typename Value, typename Options, typename Translator, typename Box, typename Allocators>
struct ExtractLevelVisitor< Value, Options, Translator, Box, Allocators >
Helper structure that allows one to extract a level from an RTree as a vector of BoundingBox objects.
This structure implements a boost::geometry::index::detail::rtree::visitor object, allowing one to visit any existing RTree object, and return the vector of bounding boxes associated to a specific target level of the tree.
Although possible, direct usage of this structure is cumbersome. The suggested usage of this class is through the helper function extract_rtree_level().
- Author
- Luca Heltai, 2020.
Definition at line 187 of file rtree.h.
template<typename Value , typename Options , typename Translator , typename Box , typename Allocators >
using ExtractLevelVisitor< Value, Options, Translator, Box, Allocators >::Leaf = typename boost::geometry::index::detail::rtree::leaf< Value, typename Options::parameters_type, Box, Allocators, typename Options::node_tag>::type |
An alias that identifies a Leaf of the tree.
Definition at line 224 of file rtree.h.
template<typename Value , typename Options , typename Translator , typename Box , typename Allocators >
const Translator& ExtractLevelVisitor< Value, Options, Translator, Box, Allocators >::translator |
Translator interface, required by the boost implementation of the rtree.
Definition at line 242 of file rtree.h.