libspatialindex API Reference
(git-trunk)
|
#include <RTree.h>
Public Member Functions | |
RTree (IStorageManager &, Tools::PropertySet &) | |
~RTree () | |
virtual void | insertData (uint32_t len, const uint8_t *pData, const IShape &shape, id_type shapeIdentifier) |
virtual bool | deleteData (const IShape &shape, id_type id) |
virtual void | internalNodesQuery (const IShape &query, IVisitor &v) |
virtual void | containsWhatQuery (const IShape &query, IVisitor &v) |
virtual void | intersectsWithQuery (const IShape &query, IVisitor &v) |
virtual void | pointLocationQuery (const Point &query, IVisitor &v) |
virtual void | nearestNeighborQuery (uint32_t k, const IShape &query, IVisitor &v, INearestNeighborComparator &) |
virtual void | nearestNeighborQuery (uint32_t k, const IShape &query, IVisitor &v) |
virtual void | selfJoinQuery (const IShape &s, IVisitor &v) |
virtual void | queryStrategy (IQueryStrategy &qs) |
virtual void | getIndexProperties (Tools::PropertySet &out) const |
virtual void | addCommand (ICommand *pCommand, CommandType ct) |
virtual bool | isIndexValid () |
virtual void | getStatistics (IStatistics **out) const |
virtual void | flush () |
Public Member Functions inherited from SpatialIndex::ISpatialIndex | |
virtual | ~ISpatialIndex ()=default |
Friends | |
class | Node |
class | Leaf |
class | Index |
class | BulkLoader |
std::ostream & | operator<< (std::ostream &os, const RTree &t) |
Definition at line 39 of file src/rtree/RTree.h.
SpatialIndex::RTree::RTree::RTree | ( | IStorageManager & | sm, |
Tools::PropertySet & | ps | ||
) |
Definition at line 358 of file RTree.cc.
References Tools::PropertySet::getProperty(), Tools::Variant::llVal, Tools::Variant::lVal, Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), Tools::VT_EMPTY, Tools::VT_LONG, and Tools::VT_LONGLONG.
|
virtual |
Implements SpatialIndex::ISpatialIndex.
Definition at line 733 of file RTree.cc.
References SpatialIndex::CT_NODEDELETE, SpatialIndex::CT_NODEREAD, and SpatialIndex::CT_NODEWRITE.
Implements SpatialIndex::ISpatialIndex.
Definition at line 500 of file RTree.cc.
References SpatialIndex::IShape::containsShape(), SpatialIndex::IShape::getDimension(), SpatialIndex::IShape::intersectsShape(), SpatialIndex::IVisitor::visitData(), and SpatialIndex::IVisitor::visitNode().
Implements SpatialIndex::ISpatialIndex.
Definition at line 424 of file RTree.cc.
References SpatialIndex::IShape::getDimension(), and SpatialIndex::IShape::getMBR().
|
virtual |
Implements SpatialIndex::ISpatialIndex.
|
virtual |
Implements SpatialIndex::ISpatialIndex.
Definition at line 658 of file RTree.cc.
References Tools::Variant::blVal, Tools::Variant::dblVal, Tools::Variant::llVal, Tools::Variant::lVal, Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), Tools::Variant::ulVal, Tools::VT_BOOL, Tools::VT_DOUBLE, Tools::VT_LONG, Tools::VT_LONGLONG, and Tools::VT_ULONG.
|
virtual |
Implements SpatialIndex::ISpatialIndex.
|
virtual |
Implements SpatialIndex::ISpatialIndex.
Definition at line 404 of file RTree.cc.
References SpatialIndex::IShape::getDimension(), and SpatialIndex::IShape::getMBR().
Implements SpatialIndex::ISpatialIndex.
Definition at line 436 of file RTree.cc.
References SpatialIndex::IShape::containsShape(), SpatialIndex::IShape::getDimension(), SpatialIndex::RTree::Node::getIdentifier(), IdVisitor::GetResultCount(), IdVisitor::GetResults(), SpatialIndex::IShape::intersectsShape(), and SpatialIndex::IVisitor::visitData().
Implements SpatialIndex::ISpatialIndex.
Definition at line 552 of file RTree.cc.
References SpatialIndex::IShape::getDimension(), and SpatialIndex::RTree::IntersectionQuery.
|
virtual |
Implements SpatialIndex::ISpatialIndex.
Definition at line 749 of file RTree.cc.
References SpatialIndex::Region::m_dimension, SpatialIndex::Region::m_pHigh, and SpatialIndex::Region::m_pLow.
|
virtual |
Implements SpatialIndex::ISpatialIndex.
Definition at line 628 of file RTree.cc.
References SpatialIndex::IShape::getDimension().
|
virtual |
Implements SpatialIndex::ISpatialIndex.
Definition at line 565 of file RTree.cc.
References SpatialIndex::IShape::getDimension(), SpatialIndex::INearestNeighborComparator::getMinimumDistance(), SpatialIndex::IVisitor::visitData(), and SpatialIndex::IVisitor::visitNode().
Implements SpatialIndex::ISpatialIndex.
Definition at line 558 of file RTree.cc.
References SpatialIndex::RTree::IntersectionQuery, and SpatialIndex::Point::m_dimension.
|
virtual |
Implements SpatialIndex::ISpatialIndex.
Definition at line 646 of file RTree.cc.
References SpatialIndex::IQueryStrategy::getNextEntry().
Implements SpatialIndex::ISpatialIndex.
Definition at line 636 of file RTree.cc.
References SpatialIndex::IShape::getDimension(), and SpatialIndex::IShape::getMBR().
|
friend |
Definition at line 191 of file src/rtree/RTree.h.
|
friend |
Definition at line 190 of file src/rtree/RTree.h.
|
friend |
Definition at line 189 of file src/rtree/RTree.h.
|
friend |
Definition at line 188 of file src/rtree/RTree.h.
|
friend |