QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef QGSMESHTRIANGULATION_H
18 #define QGSMESHTRIANGULATION_H
24 #include "qgis_analysis.h"
81 int addVertex(
const QgsPoint &vertex );
95 std::unique_ptr<QgsTriangulation> mTriangulation;
121 bool isActive(
int faceIndex )
const override;
127 double mZMinimum = std::numeric_limits<double>::max();
128 double mZMaximum = -std::numeric_limits<double>::max();
164 std::unique_ptr<QgsMeshZValueDataset> mDataset;
184 QString
text()
const override;
190 #endif // QGSMESHTRIANGULATION_H
Abstract class that can be derived to implement advanced editing on mesh.
Contains information about the context in which a coordinate transform is executed.
The class is used as a container of context for various read/write operations on other objects.
Class that contains topological differences between two states of a topological mesh,...
Point geometry type, with support for z-dimension and m-values.
virtual QDomElement writeXml(QDomDocument &doc, const QgsReadWriteContext &context) const =0
Write dataset group information in a DOM element.
const QgsCoordinateReferenceSystem & crs
virtual int datasetCount() const =0
Returns the count of datasets in the group.
QgsMeshDatasetValue represents single dataset value.
Interface for Triangulation classes.
QgsMeshDataBlock areFacesActive(int faceIndex, int count) const override
Returns whether faces are active.
int valuesCount() const override
Returns the values count.
Abstract class that represents a dataset.
QgsMeshDatasetValue datasetValue(int valueIndex) const override
Returns the value with index valueIndex.
QgsMeshDatasetGroup::Type type() const override
Returns the type of dataset group.
virtual QString text() const
Returns a short text string describing what this advanced edit does. Default implementation return a ...
Mesh - vertices, edges and faces.
Class that makes edit operation on a mesh.
QgsMeshDataBlock datasetValues(bool isScalar, int valueIndex, int count) const override
Returns count values from valueIndex.
bool isActive(int faceIndex) const override
Returns whether the face is active.
Base class for feedback objects to be used for cancellation of something running in a worker thread.
virtual void initialize()=0
Initialize the dataset group.
Class that handles mesh creation with Delaunay constrained triangulation.
Convenient class that can be used to obtain a datasetgroup on vertices that represents the Z value of...
This class represents a coordinate reference system (CRS).
virtual QgsMeshDataset * dataset(int index) const =0
Returns the dataset with index.
Abstract class that represents a dataset group.
virtual QgsMeshDatasetMetadata datasetMetadata(int datasetIndex) const =0
Returns the metadata of the dataset with index datasetIndex.
Represents a vector layer which manages a vector based data sets.
Type
Type of the dataset group.
Class that can be used with QgsMeshEditor::advancedEdit() to add triangle faces to a mesh created by ...
Convenient class that can be used to obtain a dataset that represents the Z values of mesh vertices.
QgsMeshZValueDataset(const QgsMesh &mesh)
Constructor with the mesh.
QgsMeshDataBlock is a block of integers/doubles that can be used to retrieve: active flags (e....
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Wrapper for iterator of features from vector data provider or vector layer.
virtual QgsTopologicalMesh::Changes apply(QgsMeshEditor *meshEditor)=0
Apply a change to mesh Editor.
QgsMeshDatasetMetadata metadata() const override
Returns the metadata of the dataset.
@ Virtual
Temporary dataset group in memory.