Marble
EquirectProjection.cpp
40 return QObject::tr( "<p><b>Equirectangular Projection</b> (\"Plate carrée\")</p><p>Applications: De facto standard for global texture data sets for computer software.</p>" );
195 geoCoordinates( screenRect.left(), screenRect.top(), viewport, west, north, GeoDataCoordinates::Radian );
199 geoCoordinates( screenRect.right(), screenRect.bottom(), viewport, east, south, GeoDataCoordinates::Radian );
qreal height() const const
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:42
bool mapCoversViewport(const ViewportParams *viewport) const override
Returns whether the projected data fully obstructs the current viewport.
Definition: EquirectProjection.cpp:248
void geoCoordinates(qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit) const
use this function to get the longitude and latitude with one call - use the unit parameter to switch ...
Definition: GeoDataCoordinates.cpp:161
int right() const const
qreal east(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the eastern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:126
bool geoCoordinates(const int x, const int y, const ViewportParams *params, qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Degree) const override
Get the earth coordinates corresponding to a pixel in the map.
Definition: EquirectProjection.cpp:141
GeoDataLatLonAltBox latLonAltBox(const QRect &screenRect, const ViewportParams *viewport) const override
Returns a GeoDataLatLonAltBox bounding box of the given screenrect inside the given viewport.
Definition: EquirectProjection.cpp:190
int left() const const
int bottom() const const
int top() const const
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:41
A base class for the Equirectangular and Mercator projections in Marble.
Definition: CylindricalProjection.h:28
qreal minLat() const
Returns the arbitrarily chosen minimum (southern) latitude.
Definition: AbstractProjection.cpp:101
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
virtual qreal minValidLat() const
Returns the minimum (southern) latitude that is mathematically defined and reasonable.
Definition: AbstractProjection.cpp:96
QString description() const override
Returns a short user description of the projection that can be used in tooltips or dialogs.
Definition: EquirectProjection.cpp:38
qreal maxLat() const
Returns the arbitrarily chosen maximum (northern) latitude.
Definition: AbstractProjection.cpp:79
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: EquirectProjection.cpp:48
virtual qreal maxValidLat() const
Returns the maximum (northern) latitude that is mathematically defined and reasonable.
Definition: AbstractProjection.cpp:74
QString tr(const char *sourceText, const char *disambiguation, int n)
qreal width() const const
QString name() const override
Returns the user-visible name of the projection.
Definition: EquirectProjection.cpp:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:09:38 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:09:38 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.