|
| void | buildLeaves (const std::vector< data_t > &rects, const string &leafPath) |
| |
| void | writeLeaves (const std::vector< id_t > &ids, const std::vector< data_t > &rects, const string &leafPath) |
| | Fills first tree layer for leaf RNode objects an saves RLeaf objects to file. More...
|
| |
| void | buildLevels () |
| | builds all levels above leafs More...
|
| |
| RLeaf< id_t, data_t > * | readLeaf (uint32_t nodeIdx, uint32_t childIdx) const |
| | reads a leaf from file More...
|
| |
| void | getSubTree (uint32_t rootIdx, boost::shared_ptr< std::vector< id_t > > &ids) const |
| | used when a sub-tree is fully contained in the search rectangle More...
|
| |
| FixedRect | getBoundingBox (const FixedRect keys[], size_t size) const |
| | size muste be greater than 0 More...
|
| |
| FixedRect | getBoundingBox (const FixedPoint keys[], size_t size) const |
| | size muste be greater than 0 More...
|
| |
| coord_t | getX (const FixedPoint &p) |
| | get x coordinate of point based types More...
|
| |
| coord_t | getX (const FixedRect &r) |
| | for bounding box based types use the center More...
|
| |
| coord_t | getY (const FixedPoint &p) |
| | get x coordinate of point based types More...
|
| |
| coord_t | getY (const FixedRect &r) |
| | for bounding box based types use the center More...
|
| |
| bool | searchLeaf (const RLeaf< id_t, FixedPoint > *leaf, boost::shared_ptr< std::vector< id_t > > &result, const FixedRect &rect, bool returnOnFirst) const |
| | Specialisation for point based data. More...
|
| |
| bool | searchLeaf (const RLeaf< id_t, FixedRect > *leaf, boost::shared_ptr< std::vector< id_t > > &result, const FixedRect &rect, bool returnOnFirst) const |
| | Specialisation for bounding box based data. More...
|
| |
| bool | validate () const |
| | debugging function to check validity of bounding boxes More...
|
| |
| void | printTree () const |
| | For debugging. More...
|
| |
| void | printLeaves (const string &leafPath) const |
| | For debugging. More...
|
| |
| template<typename Archive > |
| void | load (Archive &ar, const unsigned int version) |
| |
| template<typename Archive > |
| void | save (Archive &ar, const unsigned int version) const |
| |
template<class id_t, class data_t>
class RTree< id_t, data_t >
Definition at line 39 of file geodata.hpp.