Marble
MercatorProjection.h
Go to the documentation of this file.
This file contains the headers for CylindricalProjection.
A base class for the Equirectangular and Mercator projections in Marble.
Definition CylindricalProjection.h:29
A class that defines a 3D bounding box for geographic data.
Definition GeoDataLatLonAltBox.h:43
A class to implement the Mercator projection.
Definition MercatorProjection.h:30
GeoDataLatLonAltBox latLonAltBox(const QRect &screenRect, const ViewportParams *viewport) const override
Returns a GeoDataLatLonAltBox bounding box of the given screenrect inside the given viewport.
Definition MercatorProjection.cpp:213
qreal minValidLat() const override
Returns the minimum (southern) latitude that is mathematically defined and reasonable.
Definition MercatorProjection.cpp:59
bool screenCoordinates(const GeoDataCoordinates &coordinates, const ViewportParams *params, qreal &x, qreal &y, bool &globeHidesPoint) const override
Get the screen coordinates corresponding to geographical coordinates in the map.
Definition MercatorProjection.cpp:65
QString description() const override
Returns a short user description of the projection that can be used in tooltips or dialogs.
Definition MercatorProjection.cpp:43
QString name() const override
Returns the user-visible name of the projection.
Definition MercatorProjection.cpp:38
bool mapCoversViewport(const ViewportParams *viewport) const override
Returns whether the projected data fully obstructs the current viewport.
Definition MercatorProjection.cpp:251
qreal maxValidLat() const override
Returns the maximum (northern) latitude that is mathematically defined and reasonable.
Definition MercatorProjection.cpp:53
bool geoCoordinates(const int x, const int y, const ViewportParams *params, qreal &lon, qreal &lat, GeoDataCoordinates::Unit=GeoDataCoordinates::Degree) const override
Get the earth coordinates corresponding to a pixel in the map.
Definition MercatorProjection.cpp:163
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:42
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.