16#ifndef QGSTILINGSCHEME_H 
   17#define QGSTILINGSCHEME_H 
   46    QgsPointXY tileToMap( 
int x, 
int y, 
int z ) 
const;
 
   48    void mapToTile( 
const QgsPointXY &pt, 
int z, 
float &x, 
float &y ) 
const;
 
   54    QgsRectangle tileToExtent( 
const QgsChunkNodeId &nodeId ) 
const;
 
   57    void extentToTile( 
const QgsRectangle &extent, 
int &x, 
int &y, 
int &z ) 
const;
 
   71    double mBaseTileSide = 0;          
 
 
Represents a coordinate reference system (CRS).
 
A rectangle specified with double values.
 
Encapsulates tiling schemes (just like with WMTS / TMS / XYZ layers).
 
QgsCoordinateReferenceSystem crs() const
Returns CRS of the tiling scheme.
 
QgsRectangle fullExtent() const
Returns the full extent used in the constructor, which might not be square.
 
QgsTilingScheme()=default
Creates invalid tiling scheme.
 
const QgsCoordinateReferenceSystem & crs