QGIS API Documentation  3.2.0-Bonn (bc43194)
Public Member Functions | List of all members
QgsMeshDataSourceInterface Class Referenceabstract

Interface for mesh data sources. More...

#include <qgsmeshdataprovider.h>

Inheritance diagram for QgsMeshDataSourceInterface:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsMeshDataSourceInterface ()=default
 Dtor. More...
 
virtual QgsMeshFace face (int index) const =0
 Returns the mesh face at index. More...
 
virtual int faceCount () const =0
 Returns number of faces in the native mesh. More...
 
virtual QgsMeshVertex vertex (int index) const =0
 Returns the mesh vertex at index. More...
 
virtual int vertexCount () const =0
 Returns number of vertices in the native mesh. More...
 

Detailed Description

Interface for mesh data sources.

Mesh is a collection of vertices and faces in 2D or 3D space

Base on the underlying data provider/format, whole mesh is either stored in memory or read on demand

Note
The API is considered EXPERIMENTAL and can be changed without a notice
Since
QGIS 3.2

Definition at line 169 of file qgsmeshdataprovider.h.

Constructor & Destructor Documentation

◆ ~QgsMeshDataSourceInterface()

virtual QgsMeshDataSourceInterface::~QgsMeshDataSourceInterface ( )
virtualdefault

Dtor.

Member Function Documentation

◆ face()

virtual QgsMeshFace QgsMeshDataSourceInterface::face ( int  index) const
pure virtual

Returns the mesh face at index.

◆ faceCount()

virtual int QgsMeshDataSourceInterface::faceCount ( ) const
pure virtual

Returns number of faces in the native mesh.

Returns
Number of faces in the mesh

◆ vertex()

virtual QgsMeshVertex QgsMeshDataSourceInterface::vertex ( int  index) const
pure virtual

Returns the mesh vertex at index.

◆ vertexCount()

virtual int QgsMeshDataSourceInterface::vertexCount ( ) const
pure virtual

Returns number of vertices in the native mesh.

Returns
Number of vertices in the mesh

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