QGIS API Documentation  3.20.0-Odense (decaadbb31)
qgsmaplayerutils.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsmaplayerutils.h
3  -------------------
4  begin : May 2021
5  copyright : (C) 2021 Nyall Dawson
6  email : nyall dot dawson at gmail dot com
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 #ifndef QGSMAPLAYERUTILS_H
18 #define QGSMAPLAYERUTILS_H
19 
20 #include "qgis_sip.h"
21 #include "qgis_core.h"
22 #include "qgis.h"
23 
24 class QgsMapLayer;
25 class QgsRectangle;
28 
34 class CORE_EXPORT QgsMapLayerUtils
35 {
36 
37  public:
38 
44  static QgsRectangle combinedExtent( const QList<QgsMapLayer *> &layers, const QgsCoordinateReferenceSystem &crs, const QgsCoordinateTransformContext &transformContext );
45 
46 };
47 
48 #endif // QGSMAPLAYERUTILS_H
49 
50 
This class represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
Contains utility functions for working with map layers.
Base class for all map layer types.
Definition: qgsmaplayer.h:70
A rectangle specified with double values.
Definition: qgsrectangle.h:42
const QgsCoordinateReferenceSystem & crs