Marble
OsmObjectManager.cpp
48 lineString = geodata_cast<GeoDataLinearRing>(&static_cast<const GeoDataMultiGeometry*>(building->multiGeometry())->at(0));
63 polygon = geodata_cast<GeoDataPolygon>(&static_cast<const GeoDataMultiGeometry*>(building->multiGeometry())->at(0));
QVector< GeoDataCoordinates >::ConstIterator constEnd() const
Returns a const iterator that points to the end of the LineString.
Definition GeoDataLineString.cpp:373
QVector< GeoDataCoordinates >::ConstIterator constBegin() const
Returns a const iterator that points to the begin of the LineString.
Definition GeoDataLineString.cpp:367
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition GeoDataLinearRing.h:63
A class that can contain other GeoDataGeometry objects.
Definition GeoDataMultiGeometry.h:29
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:49
OsmPlacemarkData & osmData()
Quick, safe accessor to the placemark's OsmPlacemarkData stored within it's ExtendedData.
Definition GeoDataPlacemark.cpp:169
GeoDataGeometry * geometry()
The geometry of the GeoDataPlacemark is to be rendered to the marble map along with the icon at the c...
Definition GeoDataPlacemark.cpp:145
QVector< GeoDataLinearRing > & innerBoundaries()
Returns a set of inner boundaries which are represented as LinearRings.
Definition GeoDataPolygon.cpp:157
GeoDataLinearRing & outerBoundary()
Returns the outer boundary that is represented as a LinearRing.
Definition GeoDataPolygon.cpp:135
static void registerId(qint64 id)
registerId is used to keep track of the minimum id
Definition OsmObjectManager.cpp:113
static void initializeOsmData(GeoDataPlacemark *placemark)
initializeOsmData assigns valid osmData to a placemark that does not have it.
Definition OsmObjectManager.cpp:21
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
Definition OsmPlacemarkData.h:67
OsmPlacemarkData & nodeReference(const GeoDataCoordinates &coordinates)
this function returns the osmData associated with a nd
Definition OsmPlacemarkData.cpp:161
OsmPlacemarkData & memberReference(int key)
this function returns the osmData associated with a member boundary's index -1 represents the outer b...
Definition OsmPlacemarkData.cpp:208
bool isNull() const
isNull returns false if the osmData is loaded from a source or true if its just default constructed
Definition OsmPlacemarkData.cpp:296
void addTag(const QString &key, const QString &value)
addTag this function inserts a string key=value mapping, equivalent to the <tag k="@p key" v="@p valu...
Definition OsmPlacemarkData.cpp:121
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 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.