QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
17 #ifndef QGSMESHTRIANGULATION_H
18 #define QGSMESHTRIANGULATION_H
23 #include "qgis_analysis.h"
87 std::unique_ptr<QgsTriangulation> mTriangulation;
113 bool isActive(
int faceIndex )
const override;
119 double mZMinimum = std::numeric_limits<double>::max();
120 double mZMaximum = -std::numeric_limits<double>::max();
156 std::unique_ptr<QgsMeshZValueDataset> mDataset;
159 #endif // QGSMESHTRIANGULATION_H
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.
~QgsMeshTriangulation()
Destructor.
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.
Mesh - vertices, edges and faces.
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.
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 id, geometry and a list of field/values...
Wrapper for iterator of features from vector data provider or vector layer.
QgsMeshDatasetMetadata metadata() const override
Returns the metadata of the dataset.
@ Virtual
Temporary dataset group in memory.