16 #ifndef QGSTOLERANCE_H
17 #define QGSTOLERANCE_H
38 LayerUnits = MapUnits,
51 static double vertexSearchRadius(
const QgsMapSettings& mapSettings );
102 static double toleranceInMapUnits(
double tolerance,
QgsMapLayer* layer,
const QgsMapSettings& mapSettings, UnitType units = LayerUnits );
112 Q_DECL_DEPRECATED
static double toleranceInMapUnits(
double tolerance,
QgsMapLayer* layer,
QgsMapRenderer* renderer, UnitType units = LayerUnits );
Base class for all map layer types.
UnitType
Type of unit of tolerance value from settings.
A non GUI class for rendering a map layer set onto a QPainter.
The QgsMapSettings class contains configuration for rendering of the map.
Pixels unit of tolerance.
This is the class is providing tolerance value in map unit values.
A class to represent a point.