QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
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.

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 63 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 69 of file qgsogcutils.h.

Member Data Documentation

◆ layer

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

Definition at line 74 of file qgsogcutils.h.

◆ transformContext

QgsCoordinateTransformContext QgsOgcUtils::Context::transformContext

Definition at line 75 of file qgsogcutils.h.


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