QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
qgspointlocator.cpp File Reference
#include "qgspointlocator.h"
#include "qgsgeometry.h"
#include "qgsvectorlayer.h"
#include <spatialindex/SpatialIndex.h>
#include <QLinkedListIterator>
#include <QStack>
Include dependency graph for qgspointlocator.cpp:

Go to the source code of this file.

Classes

struct  _CohenSutherland
class  QgsPointLocator_DumpTree
 Helper class to dump the R-index nodes and their content. More...
class  QgsPointLocator_Stream
 Helper class for bulk loading of R-trees. More...
class  QgsPointLocator_VisitorArea
 Helper class used when traversing the index with areas - builds a list of matches. More...
class  QgsPointLocator_VisitorEdgesInRect
 Helper class used when traversing the index looking for edges - builds a list of matches. More...
class  QgsPointLocator_VisitorNearestEdge
 Helper class used when traversing the index looking for edges - builds a list of matches. More...
class  QgsPointLocator_VisitorNearestVertex
 Helper class used when traversing the index looking for vertices - builds a list of matches. More...

Functions

static QgsPointLocator::MatchList _geometrySegmentsInRect (QgsGeometry *geom, const QgsRectangle &rect, QgsVectorLayer *vl, QgsFeatureId fid)
static SpatialIndex::Point point2point (const QgsPoint &point)
static SpatialIndex::Region rect2region (const QgsRectangle &rect)

Variables

static const double POINT_LOC_EPSILON = 1e-12

Function Documentation

static QgsPointLocator::MatchList _geometrySegmentsInRect ( QgsGeometry geom,
const QgsRectangle rect,
QgsVectorLayer vl,
QgsFeatureId  fid 
)
static

Definition at line 293 of file qgspointlocator.cpp.

static SpatialIndex::Point point2point ( const QgsPoint point)
static

Definition at line 29 of file qgspointlocator.cpp.

static SpatialIndex::Region rect2region ( const QgsRectangle rect)
static

Definition at line 38 of file qgspointlocator.cpp.

Variable Documentation

const double POINT_LOC_EPSILON = 1e-12
static

Definition at line 53 of file qgspointlocator.cpp.