QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
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 61 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 67 of file qgsogcutils.h.

Member Data Documentation

◆ layer

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

Definition at line 72 of file qgsogcutils.h.

◆ transformContext

QgsCoordinateTransformContext QgsOgcUtils::Context::transformContext

Definition at line 73 of file qgsogcutils.h.


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