The snapping tolerances for the layers, always in source coordinate systems of the layer...
A non GUI class for rendering a map layer set onto a QPainter.
What unit is used for tolerance.
What snapping type to use (snap to segment or to vertex)
The QgsMapSettings class contains configuration for rendering of the map.
Snap to vertex, to segment or both.
Represents the result of a snapping operation.
A class that allows advanced snapping operations on a set of vector layers.
The index of the vertex after snappedVertex or -1 if no such vertex.
Several snapping results which have the same position are returned.
Index of the snapped geometry.
A class to represent a point.
The layer coordinates of the vertex before snappedVertex.
The layer coordinates of the vertex after snappedVertex.
The vertex index of snappedVertex or -1 if no such vertex number (e.g.
Only one snapping result is returned.
The coordinates of the snapping result.
QgsVectorLayer * mLayer
The layer to which snapping is applied.
Type of unit of tolerance value from settings.
Represents a vector layer which manages a vector based data sets.
const QgsVectorLayer * layer
Layer where the snap occured.
The index of the vertex before snappedVertex or -1 if no such vertex.