LambertAzimuthalProjection.cpp
60 LambertAzimuthalProjectionPrivate::LambertAzimuthalProjectionPrivate( LambertAzimuthalProjection * parent )
72 return QObject::tr( "<p><b>Lambert Azimuthal Equal-Area Projection</b></p><p>Applications: Used in structural geology to plot directional data.</p>" );
94 qreal cosC = qSin( phi1 ) * qSin( phi ) + qCos( phi1 ) * qCos( phi ) * qCos( lambda - lambdaPrime );
105 y = ( qCos( phi1 ) * qSin( phi ) - qSin( phi1 ) * qCos( phi ) * qCos( lambda - lambdaPrime ) ) * k;
163 const qreal p = qMax( qSqrt( rx*rx + ry*ry ), qreal(0.0001) ); // ensure we don't divide by zero
167 lon = centerLon + qAtan2( rx*sinc , ( p*qCos( centerLat )*qCos( c ) - ry*qSin( centerLat )*sinc ) );
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:27
virtual qreal minValidLat() const
Returns the minimum (southern) latitude that is mathematically defined and reasonable.
Definition: AbstractProjection.cpp:101
A base class for the Gnomonic and Orthographic (Globe) projections in Marble.
Definition: AzimuthalProjection.h:30
A class to implement the spherical projection used by the "Globe" view.
Definition: LambertAzimuthalProjection.h:28
QString tr(const char *sourceText, const char *disambiguation, int n)
LambertAzimuthalProjection()
Construct a new LambertAzimuthalProjection.
Definition: LambertAzimuthalProjection.cpp:41
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: LambertAzimuthalProjection.cpp:85
QString description() const override
Returns a short user description of the projection that can be used in tooltips or dialogs...
Definition: LambertAzimuthalProjection.cpp:70
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: LambertAzimuthalProjection.cpp:152
virtual qreal maxValidLat() const
Returns the maximum (northern) latitude that is mathematically defined and reasonable.
Definition: AbstractProjection.cpp:79
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:46
QIcon icon() const override
Returns an icon for the projection.
Definition: LambertAzimuthalProjection.cpp:75
This file contains the headers for ViewportParams.
QString name() const override
Returns the user-visible name of the projection.
Definition: LambertAzimuthalProjection.cpp:65
qreal longitude(GeoDataCoordinates::Unit unit) const
retrieves the longitude of the GeoDataCoordinates object use the unit parameter to switch between Rad...
Definition: GeoDataCoordinates.cpp:204
qreal latitude(GeoDataCoordinates::Unit unit) const
retrieves the latitude of the GeoDataCoordinates object use the unit parameter to switch between Radi...
Definition: GeoDataCoordinates.cpp:221
qreal height() const
qreal width() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 5 2019 04:18:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 5 2019 04:18:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.