1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/vector/geometry_checker/qgsgeometrycheckerutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsGeometryCheckerUtils
{
%Docstring(signature="appended")
Contains utilities required for geometry checks.
.. note::
This class is a technology preview and unstable API.
.. versionadded:: 3.4
%End
%TypeHeaderCode
#include "qgsgeometrycheckerutils.h"
%End
public:
class LayerFeature
{
%Docstring(signature="appended")
A layer feature combination to uniquely identify and access a feature in
a set of layers.
.. versionadded:: 3.4
%End
%TypeHeaderCode
#include "qgsgeometrycheckerutils.h"
%End
public:
LayerFeature( const QgsFeaturePool *pool, const QgsFeature &feature, const QgsGeometryCheckContext *context, bool useMapCrs );
%Docstring
Create a new layer/feature combination. The layer is defined by
``pool``, ``feature`` needs to be from this layer. If ``useMapCrs`` is
``True``, geometries will be reprojected to the mapCrs defined in
``context``.
%End
QgsFeature feature() const;
%Docstring
Returns the feature. The geometry will not be reprojected regardless of
useMapCrs.
%End
QString layerId() const;
%Docstring
The layer id.
%End
QgsGeometry geometry() const;
%Docstring
Returns the geometry of this feature. If useMapCrs was specified, it
will already be reprojected into the CRS specified in the context
specified in the constructor.
%End
QString id() const;
%Docstring
Returns a combination of the layerId and the feature id.
%End
bool operator==( const QgsGeometryCheckerUtils::LayerFeature &other ) const;
bool operator!=( const QgsGeometryCheckerUtils::LayerFeature &other ) const;
bool useMapCrs() const;
%Docstring
Returns if the geometry is reprojected to the map CRS or not.
%End
};
class LayerFeatures
{
%Docstring(signature="appended")
Contains a set of layers and feature ids in those layers to pass to a
geometry check.
.. versionadded:: 3.4
%End
%TypeHeaderCode
#include "qgsgeometrycheckerutils.h"
%End
public:
private:
LayerFeatures();
};
}; // QgsGeometryCheckerUtils
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/vector/geometry_checker/qgsgeometrycheckerutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|