QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
qgssnappingutils.cpp File Reference
#include "qgssnappingutils.h"
#include "qgsgeometry.h"
#include "qgsmaplayerregistry.h"
#include "qgsproject.h"
#include "qgsvectorlayer.h"
Include dependency graph for qgssnappingutils.cpp:

Go to the source code of this file.

Functions

static QgsPointLocator::Match _findClosestSegmentIntersection (const QgsPoint &pt, const QgsPointLocator::MatchList &segments)
static void _replaceIfBetter (QgsPointLocator::Match &mBest, const QgsPointLocator::Match &mNew, double maxDistance)
static void _updateBestMatch (QgsPointLocator::Match &bestMatch, const QgsPoint &pointMap, QgsPointLocator *loc, int type, double tolerance, QgsPointLocator::MatchFilter *filter)

Function Documentation

static QgsPointLocator::Match _findClosestSegmentIntersection ( const QgsPoint pt,
const QgsPointLocator::MatchList segments 
)
static

Definition at line 105 of file qgssnappingutils.cpp.

static void _replaceIfBetter ( QgsPointLocator::Match mBest,
const QgsPointLocator::Match mNew,
double  maxDistance 
)
static

Definition at line 171 of file qgssnappingutils.cpp.

static void _updateBestMatch ( QgsPointLocator::Match bestMatch,
const QgsPoint pointMap,
QgsPointLocator loc,
int  type,
double  tolerance,
QgsPointLocator::MatchFilter filter 
)
static

Definition at line 189 of file qgssnappingutils.cpp.