Marble
EquirectProjection.h
Go to the documentation of this file.
68 bool screenCoordinates(const GeoDataCoordinates &coordinates, const ViewportParams *params, qreal &x, qreal &y, bool &globeHidesPoint) const override;
102 GeoDataLatLonAltBox latLonAltBox(const QRect &screenRect, const ViewportParams *viewport) const override;
This file contains the headers for CylindricalProjection.
A base class for the Equirectangular and Mercator projections in Marble.
Definition CylindricalProjection.h:29
A class to implement the Equirectangular projection used by the "Flat Map" view.
Definition EquirectProjection.h:27
bool mapCoversViewport(const ViewportParams *viewport) const override
Returns whether the projected data fully obstructs the current viewport.
Definition EquirectProjection.cpp:239
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:46
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:183
QString description() const override
Returns a short user description of the projection that can be used in tooltips or dialogs.
Definition EquirectProjection.cpp:34
QString name() const override
Returns the user-visible name of the projection.
Definition EquirectProjection.cpp:29
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:135
A class that defines a 3D bounding box for geographic data.
Definition GeoDataLatLonAltBox.h:40
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:41
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 Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.