QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | Public Attributes | List of all members
QgsOgcUtils::Context Struct Reference

The Context struct stores the current layer and coordinate transform context. More...

#include <qgsogcutils.h>

Public Member Functions

 Context (const QgsMapLayer *layer=nullptr, const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext())
 Constructs a Context from layer and transformContext. More...
 

Public Attributes

const QgsMapLayerlayer = nullptr
 
QgsCoordinateTransformContext transformContext
 

Detailed Description

The Context struct stores the current layer and coordinate transform context.

Since
QGIS 3.14

Definition at line 58 of file qgsogcutils.h.

Constructor & Destructor Documentation

◆ Context()

QgsOgcUtils::Context::Context ( const QgsMapLayer layer = nullptr,
const QgsCoordinateTransformContext transformContext = QgsCoordinateTransformContext() 
)
inline

Constructs a Context from layer and transformContext.

Definition at line 64 of file qgsogcutils.h.

Member Data Documentation

◆ layer

const QgsMapLayer* QgsOgcUtils::Context::layer = nullptr

Definition at line 69 of file qgsogcutils.h.

◆ transformContext

QgsCoordinateTransformContext QgsOgcUtils::Context::transformContext

Definition at line 70 of file qgsogcutils.h.


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