QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
18 #ifndef QGSMAPUNITSCALE_H
19 #define QGSMAPUNITSCALE_H
21 #include "qgis_core.h"
48 : minScale( minScale )
49 , maxScale( maxScale )
65 bool minSizeMMEnabled =
false;
67 double minSizeMM = 0.0;
69 bool maxSizeMMEnabled =
false;
71 double maxSizeMM = 0.0;
98 #endif // QGSMAPUNITSCALE_H
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
double minSizeMM
The minimum size in millimeters, or 0.0 if unset.
bool operator==(const QgsMapUnitScale &other) const
bool qgsDoubleNear(double a, double b, double epsilon=4 *std::numeric_limits< double >::epsilon())
Compare two doubles (but allow some difference)
bool operator!=(const QgsMapUnitScale &other) const
Struct for storing maximum and minimum scales for measurements in map units.
bool maxSizeMMEnabled
Whether the maximum size in mm should be respected.
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c
double maxSizeMM
The maximum size in millimeters, or 0.0 if unset.
QgsMapUnitScale(double minScale=0.0, double maxScale=0.0)
Constructor for QgsMapUnitScale.
double minScale
The minimum scale, or 0.0 if unset.
double maxScale
The maximum scale, or 0.0 if unset.
bool minSizeMMEnabled
Whether the minimum size in mm should be respected.