Marble
AbstractProjection.cpp
This file contains the headers for AbstractProjection.
This file contains the headers for ViewportParams.
A base class for all projections in Marble.
Definition AbstractProjection.h:48
qreal minLat() const
Returns the arbitrarily chosen minimum (southern) latitude.
Definition AbstractProjection.cpp:101
bool screenCoordinates(const qreal lon, const qreal lat, const ViewportParams *viewport, qreal &x, qreal &y) const
Get the screen coordinates corresponding to geographical coordinates in the map.
Definition AbstractProjection.cpp:154
qreal maxLat() const
Returns the arbitrarily chosen maximum (northern) latitude.
Definition AbstractProjection.cpp:79
virtual bool geoCoordinates(const int x, const int y, const ViewportParams *viewport, qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit=GeoDataCoordinates::Degree) const =0
Get the earth coordinates corresponding to a pixel in the map.
virtual QPainterPath mapShape(const ViewportParams *viewport) const =0
Returns the shape/outline of a map projection.
virtual bool traversablePoles() const
Returns whether the projection allows to navigate seamlessly "over" the pole.
Definition AbstractProjection.cpp:123
virtual qreal maxValidLat() const
Returns the maximum (northern) latitude that is mathematically defined and reasonable.
Definition AbstractProjection.cpp:74
virtual bool isClippedToSphere() const
Defines whether a projection is supposed to be clipped to a certain radius.
Definition AbstractProjection.cpp:143
virtual bool repeatableX() const
Returns whether the projection allows for wrapping in x direction (along the longitude scale).
Definition AbstractProjection.cpp:118
virtual GeoDataLatLonAltBox latLonAltBox(const QRect &screenRect, const ViewportParams *viewport) const
Returns a GeoDataLatLonAltBox bounding box of the given screenrect inside the given viewport.
Definition AbstractProjection.cpp:172
virtual qreal minValidLat() const
Returns the minimum (southern) latitude that is mathematically defined and reasonable.
Definition AbstractProjection.cpp:96
A class that defines a 3D bounding box for geographic data.
Definition GeoDataLatLonAltBox.h:43
qreal north(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the northern boundary of the bounding box.
Definition GeoDataLatLonBox.cpp:84
qreal east(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the eastern boundary of the bounding box.
Definition GeoDataLatLonBox.cpp:126
qreal west(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the western boundary of the bounding box.
Definition GeoDataLatLonBox.cpp:147
A LineString that allows to store a contiguous set of line segments.
Definition GeoDataLineString.h:68
const GeoDataLatLonAltBox & latLonAltBox() const override
Returns the smallest latLonAltBox that contains the LineString.
Definition GeoDataLineString.cpp:794
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
int bottom() const const
QRect intersected(const QRect &rectangle) const const
int left() const const
int right() const const
int top() const const
QRect boundingRect() const const
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 31 2024 17:23:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 31 2024 17:23:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.