QGIS API Documentation  2.14.0-Essen
Classes | Functions | Variables
qgspointlocator.cpp File Reference
#include "qgspointlocator.h"
#include "qgsgeometry.h"
#include "qgsvectorlayer.h"
#include "qgswkbptr.h"
#include "qgis.h"
#include <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 305 of file qgspointlocator.cpp.

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

Definition at line 31 of file qgspointlocator.cpp.

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

Definition at line 40 of file qgspointlocator.cpp.

Variable Documentation

const double POINT_LOC_EPSILON = 1e-12
static

Definition at line 55 of file qgspointlocator.cpp.