libspatialindex API Reference  (git-trunk)
SpatialIndex::ISpatialIndex Class Referenceabstract

#include <SpatialIndex.h>

Inheritance diagram for SpatialIndex::ISpatialIndex:
Inheritance graph
Collaboration diagram for SpatialIndex::ISpatialIndex:
Collaboration graph

Public Member Functions

virtual void insertData (uint32_t len, const uint8_t *pData, const IShape &shape, id_type shapeIdentifier)=0
 
virtual bool deleteData (const IShape &shape, id_type shapeIdentifier)=0
 
virtual void internalNodesQuery (const IShape &query, IVisitor &v)=0
 
virtual void containsWhatQuery (const IShape &query, IVisitor &v)=0
 
virtual void intersectsWithQuery (const IShape &query, IVisitor &v)=0
 
virtual void pointLocationQuery (const Point &query, IVisitor &v)=0
 
virtual void nearestNeighborQuery (uint32_t k, const IShape &query, IVisitor &v, INearestNeighborComparator &nnc)=0
 
virtual void nearestNeighborQuery (uint32_t k, const IShape &query, IVisitor &v)=0
 
virtual void selfJoinQuery (const IShape &s, IVisitor &v)=0
 
virtual void queryStrategy (IQueryStrategy &qs)=0
 
virtual void getIndexProperties (Tools::PropertySet &out) const =0
 
virtual void addCommand (ICommand *in, CommandType ct)=0
 
virtual bool isIndexValid ()=0
 
virtual void getStatistics (IStatistics **out) const =0
 
virtual void flush ()=0
 
virtual ~ISpatialIndex ()=default
 

Detailed Description

Definition at line 192 of file SpatialIndex.h.

Constructor & Destructor Documentation

◆ ~ISpatialIndex()

virtual SpatialIndex::ISpatialIndex::~ISpatialIndex ( )
virtualdefault

Member Function Documentation

◆ addCommand()

virtual void SpatialIndex::ISpatialIndex::addCommand ( ICommand in,
CommandType  ct 
)
pure virtual

◆ containsWhatQuery()

virtual void SpatialIndex::ISpatialIndex::containsWhatQuery ( const IShape query,
IVisitor v 
)
pure virtual

◆ deleteData()

virtual bool SpatialIndex::ISpatialIndex::deleteData ( const IShape shape,
id_type  shapeIdentifier 
)
pure virtual

◆ flush()

virtual void SpatialIndex::ISpatialIndex::flush ( )
pure virtual

◆ getIndexProperties()

virtual void SpatialIndex::ISpatialIndex::getIndexProperties ( Tools::PropertySet out) const
pure virtual

Implemented in SpatialIndex::MVRTree::MVRTree, SpatialIndex::RTree::RTree, and SpatialIndex::TPRTree::TPRTree.

Referenced by Index_GetLeaves(), and Index_GetProperties().

Here is the caller graph for this function:

◆ getStatistics()

virtual void SpatialIndex::ISpatialIndex::getStatistics ( IStatistics **  out) const
pure virtual

◆ insertData()

virtual void SpatialIndex::ISpatialIndex::insertData ( uint32_t  len,
const uint8_t *  pData,
const IShape shape,
id_type  shapeIdentifier 
)
pure virtual

◆ internalNodesQuery()

virtual void SpatialIndex::ISpatialIndex::internalNodesQuery ( const IShape query,
IVisitor v 
)
pure virtual

Implemented in SpatialIndex::MVRTree::MVRTree, SpatialIndex::RTree::RTree, and SpatialIndex::TPRTree::TPRTree.

Referenced by Index_Intersects_internal().

Here is the caller graph for this function:

◆ intersectsWithQuery()

◆ isIndexValid()

virtual bool SpatialIndex::ISpatialIndex::isIndexValid ( )
pure virtual

Implemented in SpatialIndex::MVRTree::MVRTree, SpatialIndex::RTree::RTree, and SpatialIndex::TPRTree::TPRTree.

Referenced by Index_IsValid().

Here is the caller graph for this function:

◆ nearestNeighborQuery() [1/2]

virtual void SpatialIndex::ISpatialIndex::nearestNeighborQuery ( uint32_t  k,
const IShape query,
IVisitor v,
INearestNeighborComparator nnc 
)
pure virtual

◆ nearestNeighborQuery() [2/2]

virtual void SpatialIndex::ISpatialIndex::nearestNeighborQuery ( uint32_t  k,
const IShape query,
IVisitor v 
)
pure virtual

◆ pointLocationQuery()

virtual void SpatialIndex::ISpatialIndex::pointLocationQuery ( const Point query,
IVisitor v 
)
pure virtual

◆ queryStrategy()

virtual void SpatialIndex::ISpatialIndex::queryStrategy ( IQueryStrategy qs)
pure virtual

Implemented in SpatialIndex::MVRTree::MVRTree, SpatialIndex::RTree::RTree, and SpatialIndex::TPRTree::TPRTree.

Referenced by Index_GetBounds(), and Index_GetLeaves().

Here is the caller graph for this function:

◆ selfJoinQuery()

virtual void SpatialIndex::ISpatialIndex::selfJoinQuery ( const IShape s,
IVisitor v 
)
pure virtual

The documentation for this class was generated from the following file: