16 #ifndef QGSTOLERANCE_H 
   17 #define QGSTOLERANCE_H 
   21 #include "qgis_core.h" 
   58     static double vertexSearchRadius( 
const QgsMapSettings &mapSettings );
 
   93     static double toleranceInMapUnits( 
double tolerance, 
QgsMapLayer *layer, 
const QgsMapSettings &mapSettings, UnitType units = LayerUnits );
 
Base class for all map layer types.
The QgsMapSettings class contains configuration for rendering of the map.
A class to represent a 2D point.
This is the class is providing tolerance value in map unit values.
UnitType
Type of unit of tolerance value from settings.
@ Pixels
Pixels unit of tolerance.
@ LayerUnits
Layer unit value.