Interface to an polyline and polygon index object managing all non point objects within the datamanager. More...
#include "IPolylineIndex.hpp"
Public Types | |
typedef ConstIterator< IGeometry > | const_iterator_geometry |
Geometry iterator. | |
typedef ConstIterator< IPolyline > | const_iterator_line |
Polyline iterator. | |
typedef InsertIterator< IGeometry > | insert_iterator_geometry |
Geometry insert iterator (used in searchGeometry functions) | |
typedef InsertIterator< IPolyline > | insert_iterator_line |
Polyline insert iterator (used in searchPolyline functions) | |
Public Member Functions | |
virtual BoxHandle | getLimit () const =0 |
virtual int64_t | sizeGeometry () const =0 |
virtual int64_t | sizePolyline () const =0 |
virtual int64_t | sizePolylinePoint () const =0 |
virtual int64_t | sizePolygon () const =0 |
virtual int64_t | sizePolygonPoint () const =0 |
virtual PolylineHandle | getPolyline (int64_t id) const =0 |
virtual PolygonHandle | getPolygon (int64_t id) const =0 |
virtual GeometryHandle | getGeometry (int64_t id) const =0 |
virtual int64_t | addPolyline (PolylineHandle l)=0 |
virtual int64_t | addPolygon (PolygonHandle p)=0 |
virtual void | replacePolyline (PolylineHandle l)=0 |
virtual void | replacePolygon (PolygonHandle p)=0 |
virtual void | remove (int64_t id)=0 |
remove an element by its id | |
virtual const_iterator_geometry | beginGeometry (IteratorOrder order=IteratorOrder::internal) const =0 |
virtual const_iterator_geometry | endGeometry (IteratorOrder order=IteratorOrder::internal) const =0 |
virtual const_iterator_line | beginPolyline (IteratorOrder order=IteratorOrder::internal) const =0 |
virtual const_iterator_line | endPolyline (IteratorOrder order=IteratorOrder::internal) const =0 |
virtual void | searchGeometry (const IWindow &win, SpatialQueryMode mode, insert_iterator_geometry &instIt, bool includeRightBoundary=true)=0 |
virtual void | searchGeometry (const IBox &box, SpatialQueryMode mode, insert_iterator_geometry &instIt, bool includeRightBoundary=true)=0 |
virtual void | searchGeometry (const IPolygon &p, SpatialQueryMode mode, insert_iterator_geometry &instIt)=0 |
virtual double | searchGeometry (int nnCount, const IPoint &queryPt, insert_iterator_geometry &instIt, double maxDistance=-1)=0 |
k nearest neighbour search More... | |
virtual IndexStatsHandle | getIndexStatistics () const =0 |
![]() | |
virtual void | Delete () |
Static Public Member Functions | |
static IPolylineIndex * | New (int dimension, bool threadsafe) |
create a new r tree object | |
Interface to an polyline and polygon index object managing all non point objects within the datamanager.
|
pure virtual |
k nearest neighbour search
[in] | nnCount | number of k neighbour to find |
[in] | queryPt | base point for the neighbour search |
[in] | instIt | insert iterator for collecting the found geometry objects |
[in] | maxDistance | maximum distance (not squared distance) for finding geometry objects (use -1 disabling the distance limit) |