QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | Public Attributes | List of all members
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. More...
 
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. More...
 
QgsVertexId vidx
 The index of the part / ring / vertex, depending on. More...
 
QgsGeometryCheck::ChangeWhat what = QgsGeometryCheck::ChangeWhat::ChangeFeature
 What level this change affects. More...
 

Detailed Description

Descripts a change to fix a geometry.

Since
Python bindings since QGIS 3.4

Definition at line 176 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 183 of file qgsgeometrycheck.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 210 of file qgsgeometrycheck.h.

◆ operator==()

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

Definition at line 205 of file qgsgeometrycheck.h.

Member Data Documentation

◆ type

QgsGeometryCheck::ChangeType QgsGeometryCheck::Change::type = QgsGeometryCheck::ChangeType::ChangeAdded

What action this change performs.

Definition at line 197 of file qgsgeometrycheck.h.

◆ vidx

QgsVertexId QgsGeometryCheck::Change::vidx

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

See also
what.

Definition at line 202 of file qgsgeometrycheck.h.

◆ what

QgsGeometryCheck::ChangeWhat QgsGeometryCheck::Change::what = QgsGeometryCheck::ChangeWhat::ChangeFeature

What level this change affects.

Definition at line 192 of file qgsgeometrycheck.h.


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