QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
QgsTopologicalMesh::Changes Class Reference

Class that contains topological differences between two states of a topological mesh, only accessible from the QgsTopologicalMesh class. More...

#include <qgstopologicalmesh.h>

Inheritance diagram for QgsTopologicalMesh::Changes:
Inheritance graph
[legend]

Public Member Functions

QVector< QgsMeshFaceaddedFaces () const
 Returns the face that are added with this changes.
 
QVector< QgsMeshVertexaddedVertices () const
 Returns the added vertices with this changes.
 
QList< int > changedCoordinatesVerticesIndexes () const
 Returns the indexes of vertices that have changed coordinates.
 
bool isEmpty () const
 Returns whether changes are empty, that there is nothing to change.
 
QList< int > nativeFacesIndexesGeometryChanged () const
 Returns a list of the native face indexes that have a geometry changed.
 
QList< QgsPointXYnewVerticesXYValues () const
 Returns the new (X,Y) values of vertices that have changed their coordinates.
 
QList< double > newVerticesZValues () const
 Returns the new Z values of vertices that have changed their coordinates.
 
QList< QgsPointXYoldVerticesXYValues () const
 Returns the old (X,Y) values of vertices that have changed their coordinates.
 
QList< int > removedFaceIndexes () const
 Returns the indexes of the faces that are removed with this changes.
 
QVector< QgsMeshFaceremovedFaces () const
 Returns the faces that are removed with this changes.
 
QList< int > verticesToRemoveIndexes () const
 Returns the indexes of vertices to remove.
 

Protected Member Functions

void clearChanges ()
 Clears all changes.
 

Protected Attributes

int mAddedFacesFirstIndex = 0
 
QList< int > mChangeCoordinateVerticesIndexes
 
QList< int > mFaceIndexesToRemove
 
QVector< FaceNeighborsmFacesNeighborhoodToAdd
 
QVector< FaceNeighborsmFacesNeighborhoodToRemove
 
QVector< QgsMeshFacemFacesToAdd
 
QVector< QgsMeshFacemFacesToRemove
 
QList< int > mNativeFacesIndexesGeometryChanged
 
QList< std::array< int, 4 > > mNeighborhoodChanges
 
QList< QgsPointXYmNewXYValues
 
QList< double > mNewZValues
 
QList< QgsPointXYmOldXYValues
 
QList< double > mOldZValues
 
QList< QgsMeshVertexmRemovedVertices
 
QVector< int > mVertexToFaceToAdd
 
QVector< QgsMeshVertexmVerticesToAdd
 
QList< std::array< int, 3 > > mVerticesToFaceChanges
 
QList< int > mVerticesToFaceRemoved
 
QList< int > mVerticesToRemoveIndexes
 

Friends

class QgsTopologicalMesh
 

Detailed Description

Class that contains topological differences between two states of a topological mesh, only accessible from the QgsTopologicalMesh class.

Since
QGIS 3.22

Definition at line 96 of file qgstopologicalmesh.h.

Member Function Documentation

◆ addedFaces()

QVector< QgsMeshFace > QgsTopologicalMesh::Changes::addedFaces ( ) const

Returns the face that are added with this changes.

Definition at line 1025 of file qgstopologicalmesh.cpp.

◆ addedVertices()

QVector< QgsMeshVertex > QgsTopologicalMesh::Changes::addedVertices ( ) const

Returns the added vertices with this changes.

Definition at line 1040 of file qgstopologicalmesh.cpp.

◆ changedCoordinatesVerticesIndexes()

QList< int > QgsTopologicalMesh::Changes::changedCoordinatesVerticesIndexes ( ) const

Returns the indexes of vertices that have changed coordinates.

Definition at line 1045 of file qgstopologicalmesh.cpp.

◆ clearChanges()

void QgsTopologicalMesh::Changes::clearChanges ( )
protected

Clears all changes.

Definition at line 1113 of file qgstopologicalmesh.cpp.

◆ isEmpty()

bool QgsTopologicalMesh::Changes::isEmpty ( ) const

Returns whether changes are empty, that there is nothing to change.

Definition at line 1070 of file qgstopologicalmesh.cpp.

◆ nativeFacesIndexesGeometryChanged()

QList< int > QgsTopologicalMesh::Changes::nativeFacesIndexesGeometryChanged ( ) const

Returns a list of the native face indexes that have a geometry changed.

Definition at line 1065 of file qgstopologicalmesh.cpp.

◆ newVerticesXYValues()

QList< QgsPointXY > QgsTopologicalMesh::Changes::newVerticesXYValues ( ) const

Returns the new (X,Y) values of vertices that have changed their coordinates.

Definition at line 1055 of file qgstopologicalmesh.cpp.

◆ newVerticesZValues()

QList< double > QgsTopologicalMesh::Changes::newVerticesZValues ( ) const

Returns the new Z values of vertices that have changed their coordinates.

Definition at line 1050 of file qgstopologicalmesh.cpp.

◆ oldVerticesXYValues()

QList< QgsPointXY > QgsTopologicalMesh::Changes::oldVerticesXYValues ( ) const

Returns the old (X,Y) values of vertices that have changed their coordinates.

Definition at line 1060 of file qgstopologicalmesh.cpp.

◆ removedFaceIndexes()

QList< int > QgsTopologicalMesh::Changes::removedFaceIndexes ( ) const

Returns the indexes of the faces that are removed with this changes.

Definition at line 1035 of file qgstopologicalmesh.cpp.

◆ removedFaces()

QVector< QgsMeshFace > QgsTopologicalMesh::Changes::removedFaces ( ) const

Returns the faces that are removed with this changes.

Definition at line 1030 of file qgstopologicalmesh.cpp.

◆ verticesToRemoveIndexes()

QList< int > QgsTopologicalMesh::Changes::verticesToRemoveIndexes ( ) const

Returns the indexes of vertices to remove.

Definition at line 1092 of file qgstopologicalmesh.cpp.

Friends And Related Symbol Documentation

◆ QgsTopologicalMesh

friend class QgsTopologicalMesh
friend

Definition at line 163 of file qgstopologicalmesh.h.

Member Data Documentation

◆ mAddedFacesFirstIndex

int QgsTopologicalMesh::Changes::mAddedFacesFirstIndex = 0
protected

Definition at line 134 of file qgstopologicalmesh.h.

◆ mChangeCoordinateVerticesIndexes

QList<int> QgsTopologicalMesh::Changes::mChangeCoordinateVerticesIndexes
protected

Definition at line 149 of file qgstopologicalmesh.h.

◆ mFaceIndexesToRemove

QList<int> QgsTopologicalMesh::Changes::mFaceIndexesToRemove
protected

Definition at line 135 of file qgstopologicalmesh.h.

◆ mFacesNeighborhoodToAdd

QVector<FaceNeighbors> QgsTopologicalMesh::Changes::mFacesNeighborhoodToAdd
protected

Definition at line 137 of file qgstopologicalmesh.h.

◆ mFacesNeighborhoodToRemove

QVector<FaceNeighbors> QgsTopologicalMesh::Changes::mFacesNeighborhoodToRemove
protected

Definition at line 139 of file qgstopologicalmesh.h.

◆ mFacesToAdd

QVector<QgsMeshFace> QgsTopologicalMesh::Changes::mFacesToAdd
protected

Definition at line 136 of file qgstopologicalmesh.h.

◆ mFacesToRemove

QVector<QgsMeshFace> QgsTopologicalMesh::Changes::mFacesToRemove
protected

Definition at line 138 of file qgstopologicalmesh.h.

◆ mNativeFacesIndexesGeometryChanged

QList<int> QgsTopologicalMesh::Changes::mNativeFacesIndexesGeometryChanged
protected

Definition at line 154 of file qgstopologicalmesh.h.

◆ mNeighborhoodChanges

QList<std::array<int, 4> > QgsTopologicalMesh::Changes::mNeighborhoodChanges
protected

Definition at line 140 of file qgstopologicalmesh.h.

◆ mNewXYValues

QList<QgsPointXY> QgsTopologicalMesh::Changes::mNewXYValues
protected

Definition at line 152 of file qgstopologicalmesh.h.

◆ mNewZValues

QList<double> QgsTopologicalMesh::Changes::mNewZValues
protected

Definition at line 150 of file qgstopologicalmesh.h.

◆ mOldXYValues

QList<QgsPointXY> QgsTopologicalMesh::Changes::mOldXYValues
protected

Definition at line 153 of file qgstopologicalmesh.h.

◆ mOldZValues

QList<double> QgsTopologicalMesh::Changes::mOldZValues
protected

Definition at line 151 of file qgstopologicalmesh.h.

◆ mRemovedVertices

QList<QgsMeshVertex> QgsTopologicalMesh::Changes::mRemovedVertices
protected

Definition at line 145 of file qgstopologicalmesh.h.

◆ mVertexToFaceToAdd

QVector<int> QgsTopologicalMesh::Changes::mVertexToFaceToAdd
protected

Definition at line 143 of file qgstopologicalmesh.h.

◆ mVerticesToAdd

QVector<QgsMeshVertex> QgsTopologicalMesh::Changes::mVerticesToAdd
protected

Definition at line 142 of file qgstopologicalmesh.h.

◆ mVerticesToFaceChanges

QList<std::array<int, 3> > QgsTopologicalMesh::Changes::mVerticesToFaceChanges
protected

Definition at line 147 of file qgstopologicalmesh.h.

◆ mVerticesToFaceRemoved

QList<int> QgsTopologicalMesh::Changes::mVerticesToFaceRemoved
protected

Definition at line 146 of file qgstopologicalmesh.h.

◆ mVerticesToRemoveIndexes

QList<int> QgsTopologicalMesh::Changes::mVerticesToRemoveIndexes
protected

Definition at line 144 of file qgstopologicalmesh.h.


The documentation for this class was generated from the following files: