QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
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 59 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 65 of file qgsogcutils.h.

Member Data Documentation

◆ layer

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

Definition at line 70 of file qgsogcutils.h.

◆ transformContext

QgsCoordinateTransformContext QgsOgcUtils::Context::transformContext

Definition at line 71 of file qgsogcutils.h.


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