2018-09-06 17:30:56 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/analysis/vector/geometry_checker/qgsgeometrycheckcontext.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-12 07:25:42 +02:00
|
|
|
class QgsGeometryCheckContext
|
2018-09-06 17:30:56 +02:00
|
|
|
{
|
2019-08-12 07:25:42 +02:00
|
|
|
%Docstring
|
|
|
|
Base configuration for geometry checks.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
This class is a technology preview and unstable API.
|
|
|
|
|
|
|
|
.. versionadded:: 3.4
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsgeometrycheckcontext.h"
|
|
|
|
%End
|
|
|
|
public:
|
2019-08-12 16:55:38 +02:00
|
|
|
|
2018-09-06 17:30:56 +02:00
|
|
|
QgsGeometryCheckContext( int precision,
|
|
|
|
const QgsCoordinateReferenceSystem &mapCrs,
|
2019-07-30 17:09:50 +02:00
|
|
|
const QgsCoordinateTransformContext &transformContext,
|
2019-08-12 07:25:42 +02:00
|
|
|
const QgsProject *mProject );
|
2019-08-12 16:55:38 +02:00
|
|
|
%Docstring
|
|
|
|
Creates a new QgsGeometryCheckContext.
|
|
|
|
%End
|
2018-09-30 10:35:45 +02:00
|
|
|
|
2018-09-06 17:30:56 +02:00
|
|
|
const double tolerance;
|
2018-09-30 10:35:45 +02:00
|
|
|
|
2018-09-06 17:30:56 +02:00
|
|
|
const double reducedTolerance;
|
2018-09-30 10:35:45 +02:00
|
|
|
|
2018-09-06 17:30:56 +02:00
|
|
|
const QgsCoordinateReferenceSystem mapCrs;
|
2018-09-30 10:35:45 +02:00
|
|
|
|
2018-09-06 17:30:56 +02:00
|
|
|
const QgsCoordinateTransformContext transformContext;
|
|
|
|
|
2019-08-12 07:25:42 +02:00
|
|
|
const QgsProject *project() const;
|
|
|
|
%Docstring
|
|
|
|
The project can be used to resolve additional layers.
|
|
|
|
|
|
|
|
This must only be accessed from the main thread (i.e. do not access from the collectError method)
|
|
|
|
|
|
|
|
.. versionadded:: 3.10
|
|
|
|
%End
|
2019-07-30 17:09:50 +02:00
|
|
|
|
2018-09-06 17:30:56 +02:00
|
|
|
private:
|
|
|
|
QgsGeometryCheckContext( const QgsGeometryCheckContext &rh );
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/analysis/vector/geometry_checker/qgsgeometrycheckcontext.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|