Marble
ViewportParams.h
Go to the documentation of this file.
44 explicit ViewportParams(Projection projection, qreal centerLongitude = 0, qreal centerLatitude = 0, int radius = 2000, const QSize &size = QSize(100, 100));
74 bool resolves(const GeoDataLatLonAltBox &latLonAltBox, qreal pixel = 2.0, qreal altitude = 10000.0) const;
134 bool screenCoordinates(const GeoDataCoordinates &geopoint, qreal &x, qreal &y, bool &globeHidesPoint) const;
155 bool screenCoordinates(const GeoDataCoordinates &coordinates, qreal *x, qreal &y, int &pointRepeatNum, const QSizeF &size, bool &globeHidesPoint) const;
157 bool screenCoordinates(const GeoDataLineString &lineString, QList<QPolygonF *> &polygons) const;
169 bool geoCoordinates(const int x, const int y, qreal &lon, qreal &lat, GeoDataCoordinates::Unit unit = GeoDataCoordinates::Degree) const;
A base class for all projections in Marble.
Definition AbstractProjection.h:45
A class that defines a 3D bounding box for geographic data.
Definition GeoDataLatLonAltBox.h:40
A class that defines a 2D bounding box for geographic data.
Definition GeoDataLatLonBox.h:45
A LineString that allows to store a contiguous set of line segments.
Definition GeoDataLineString.h:66
A public class that controls what is visible in the viewport of a Marble map.
Definition ViewportParams.h:41
Q_INVOKABLE void setProjection(uint proj)
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 Fri Nov 8 2024 12:02:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.