Template Struct rtree_spec

Struct Documentation

template<typename TCoordType, typename TGeometryType, typename TValueType, size_t MAXELTS = 16>
struct rtree_spec

Public Types

using coord_type = TCoordType
using element_type = std::pair<geometry_type, value_type>

Type of the elements in the tree.

using geometry_type = TGeometryType

The type of geometry that the rtree will be built from (e.g., points, rectangles, etc.).

using tree_type = bgi::rtree<element_type, bgi::rstar<MAXELTS>>

The templated type of the underlying boost tree that does all the work.

using value_type = TValueType

The type of the thing you want to track with the rtree (i.e., what is associated with each rectangle).

Public Static Attributes

static constexpr const size_t kMAXELTS = 16