#include "qgis_core.h"
#include "qgis_sip.h"
#include <QDir>
#include <QString>
#include <QRegExp>
#include <QList>
#include "qgslogger.h"
#include "qgsmapsettings.h"
#include "qgsdartmeasurement.h"
Go to the source code of this file.
|
class | QgsRenderChecker |
| This is a helper class for unit tests that need to write an image and compare it to an expected result or render time. More...
|
|
|
bool | compareWkt (const QString &a, const QString &b, double tolerance=0.000001) |
| Compare two WKT strings with some tolerance. More...
|
|
◆ compareWkt()
bool compareWkt |
( |
const QString & |
a, |
|
|
const QString & |
b, |
|
|
double |
tolerance = 0.000001 |
|
) |
| |
|
inline |
Compare two WKT strings with some tolerance.
- Parameters
-
a | first WKT string |
b | second WKT string |
tolerance | tolerance to use (optional, defaults to 0.000001) |
- Returns
- bool indicating if the WKT are sufficiently equal
Definition at line 208 of file qgsrenderchecker.h.