16#ifndef QGSTILINGSCHEME_H
17#define QGSTILINGSCHEME_H
70 double mBaseTileSide = 0;
Represents a coordinate reference system (CRS).
A rectangle specified with double values.
void mapToTile(const QgsPointXY &pt, int z, float &x, float &y) const
Returns tile coordinates for given map coordinates and Z level.
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.
void extentToTile(const QgsRectangle &extent, int &x, int &y, int &z) const
Returns coordinates of a tile that most tightly fits the whole extent.
QgsPointXY tileToMap(int x, int y, int z) const
Returns map coordinates at tile coordinates (for lower-left corner of the tile).
QgsTilingScheme()=default
Creates invalid tiling scheme.
QgsRectangle tileToExtent(int x, int y, int z) const
Returns map coordinates of the extent of a tile.