QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsGeometryCheck::Change Struct Reference

Descripts a change to fix a geometry. More...

#include <qgsgeometrycheck.h>

Public Member Functions

 Change ()=default
 Change (QgsGeometryCheck::ChangeWhat _what, QgsGeometryCheck::ChangeType _type, QgsVertexId _vidx=QgsVertexId())
 Create a new Change.
bool operator!= (const QgsGeometryCheck::Change &other) const
bool operator== (const QgsGeometryCheck::Change &other) const

Public Attributes

QgsGeometryCheck::ChangeType type = QgsGeometryCheck::ChangeType::ChangeAdded
 What action this change performs.
QgsVertexId vidx
 The index of the part / ring / vertex, depending on.
QgsGeometryCheck::ChangeWhat what = QgsGeometryCheck::ChangeWhat::ChangeFeature
 What level this change affects.

Detailed Description

Descripts a change to fix a geometry.

Since
Python bindings since QGIS 3.4

Definition at line 186 of file qgsgeometrycheck.h.

Constructor & Destructor Documentation

◆ Change() [1/2]

QgsGeometryCheck::Change::Change ( )
default

◆ Change() [2/2]

QgsGeometryCheck::Change::Change ( QgsGeometryCheck::ChangeWhat _what,
QgsGeometryCheck::ChangeType _type,
QgsVertexId _vidx = QgsVertexId() )
inline

Create a new Change.

Definition at line 193 of file qgsgeometrycheck.h.

Member Function Documentation

◆ operator!=()

bool QgsGeometryCheck::Change::operator!= ( const QgsGeometryCheck::Change & other) const
inline

Definition at line 220 of file qgsgeometrycheck.h.

◆ operator==()

bool QgsGeometryCheck::Change::operator== ( const QgsGeometryCheck::Change & other) const
inline

Definition at line 215 of file qgsgeometrycheck.h.

Member Data Documentation

◆ type

What action this change performs.

Definition at line 207 of file qgsgeometrycheck.h.

◆ vidx

QgsVertexId QgsGeometryCheck::Change::vidx

The index of the part / ring / vertex, depending on.

See also
what.

Definition at line 212 of file qgsgeometrycheck.h.

◆ what

What level this change affects.

Definition at line 202 of file qgsgeometrycheck.h.


The documentation for this struct was generated from the following file: