QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
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.
 
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 175 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 182 of file qgsgeometrycheck.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 209 of file qgsgeometrycheck.h.

◆ operator==()

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

Definition at line 204 of file qgsgeometrycheck.h.

Member Data Documentation

◆ type

What action this change performs.

Definition at line 196 of file qgsgeometrycheck.h.

◆ vidx

QgsVertexId QgsGeometryCheck::Change::vidx

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

See also
what.

Definition at line 201 of file qgsgeometrycheck.h.

◆ what

What level this change affects.

Definition at line 191 of file qgsgeometrycheck.h.


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