18 #ifndef QGSMAPCANVASSNAPPER_H 19 #define QGSMAPCANVASSNAPPER_H 54 int snapToCurrentLayer(
const QPoint& p, QList<QgsSnappingResult>& results,
QgsSnapper::SnappingType snap_to,
double snappingTol = -1,
const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );
63 int snapToBackgroundLayers(
const QPoint& p, QList<QgsSnappingResult>& results,
const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );
64 int snapToBackgroundLayers(
const QgsPoint& point, QList<QgsSnappingResult>& results,
const QList<QgsPoint>& excludePoints = QList<QgsPoint>() );
Map canvas is a class for displaying all GIS data types on a canvas.
SnappingType
Snap to vertex, to segment or both.
A class that allows advanced snapping operations on a set of vector layers.
A class to represent a point.
This class reads the snapping properties from the current project and configures a QgsSnapper to perf...