Marble::GeoSceneEquirectTileProjection

Search for usage in LXR

Marble::GeoSceneEquirectTileProjection Class Reference

#include <GeoSceneEquirectTileProjection.h>

Inheritance diagram for Marble::GeoSceneEquirectTileProjection:

Public Member Functions

 GeoSceneEquirectTileProjection ()
 
GeoDataLatLonBox geoCoordinates (int zoomLevel, int x, int y) const override
 
QRect tileIndexes (const GeoDataLatLonBox &latLonBox, int zoomLevel) const override
 
GeoSceneAbstractTileProjection::Type type () const override
 
- Public Member Functions inherited from Marble::GeoSceneAbstractTileProjection
 GeoSceneAbstractTileProjection ()
 
GeoDataLatLonBox geoCoordinates (const TileId &tileId) const
 
int levelZeroColumns () const
 
int levelZeroRows () const
 
void setLevelZeroColumns (int levelZeroColumns)
 
void setLevelZeroRows (int levelZeroRows)
 

Additional Inherited Members

- Public Types inherited from Marble::GeoSceneAbstractTileProjection
enum  Type { Equirectangular, Mercator }
 

Detailed Description

Converts the x and y indices of tiles to and from geo coordinates.

For tiles of maps in Equirectangular projection.

Tiles do have the same width and the same height per zoomlevel. The number of tiles per dimension is twice that of the previous lower zoomlevel. The indexing is done in x dimension eastwards, with the first tiles beginning at -180 degree and an x value of 0 and the last tiles ending at +180 degree, in y dimension southwards with the first tiles beginning at +90 degree and a y value of 0 and the last tiles ending at -90 degree.

Definition at line 26 of file GeoSceneEquirectTileProjection.h.

Constructor & Destructor Documentation

Marble::GeoSceneEquirectTileProjection::GeoSceneEquirectTileProjection ( )

Construct a new GeoSceneEquirectTileProjection.

Definition at line 14 of file GeoSceneEquirectTileProjection.cpp.

Member Function Documentation

GeoDataLatLonBox Marble::GeoSceneEquirectTileProjection::geoCoordinates ( int  zoomLevel,
int  x,
int  y 
) const
overridevirtual
QRect Marble::GeoSceneEquirectTileProjection::tileIndexes ( const GeoDataLatLonBox latLonBox,
int  zoomLevel 
) const
overridevirtual
GeoSceneAbstractTileProjection::Type Marble::GeoSceneEquirectTileProjection::type ( ) const
overridevirtual

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jan 22 2022 23:11:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.