Marble
StereographicProjection.cpp
55StereographicProjectionPrivate::StereographicProjectionPrivate( StereographicProjection * parent )
67 return QObject::tr( "<p><b>Stereographic Projection</b> (\"orthogonal\")</p><p>Applications: Used for planetary cartography, geology and panorama photography.</p>" );
89 qreal cosC = qSin( phi1 ) * qSin( phi ) + qCos( phi1 ) * qCos( phi ) * qCos( lambda - lambdaPrime );
158 const qreal p = qMax( qSqrt( rx*rx + ry*ry ), qreal(0.0001) ); // ensure we don't divide by zero
This file contains the headers for ViewportParams.
virtual qreal maxValidLat() const
Returns the maximum (northern) latitude that is mathematically defined and reasonable.
Definition AbstractProjection.cpp:74
virtual qreal minValidLat() const
Returns the minimum (southern) latitude that is mathematically defined and reasonable.
Definition AbstractProjection.cpp:96
A base class for the Gnomonic and Orthographic (Globe) projections in Marble.
Definition AzimuthalProjection.h:26
qreal longitude(GeoDataCoordinates::Unit unit) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition GeoDataCoordinates.cpp:198
qreal latitude(GeoDataCoordinates::Unit unit) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition GeoDataCoordinates.cpp:215
QString name() const override
Returns the user-visible name of the projection.
Definition StereographicProjection.cpp:60
StereographicProjection()
Construct a new StereographicProjection.
Definition StereographicProjection.cpp:36
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 StereographicProjection.cpp:80
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 StereographicProjection.cpp:147
QIcon icon() const override
Returns an icon for the projection.
Definition StereographicProjection.cpp:70
QString description() const override
Returns a short user description of the projection that can be used in tooltips or dialogs.
Definition StereographicProjection.cpp:65
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
QString tr(const char *sourceText, const char *disambiguation, int n)
qreal height() const const
qreal width() const const
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.