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));
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
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
QVector< GeoDataCoordinates >::ConstIterator constBegin() const
Returns a const iterator that points to the begin of the LineString.
Definition: GeoDataLineString.cpp:367
QVector< GeoDataLinearRing > & innerBoundaries()
Returns a set of inner boundaries which are represented as LinearRings.
Definition: GeoDataPolygon.cpp:157
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
static void initializeOsmData(GeoDataPlacemark *placemark)
initializeOsmData assigns valid osmData to a placemark that does not have it.
Definition: OsmObjectManager.cpp:21
QVector< GeoDataCoordinates >::ConstIterator constEnd() const
Returns a const iterator that points to the end of the LineString.
Definition: GeoDataLineString.cpp:373
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
OsmPlacemarkData & nodeReference(const GeoDataCoordinates &coordinates)
this function returns the osmData associated with a nd
Definition: OsmPlacemarkData.cpp:161
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
Definition: OsmPlacemarkData.h:66
a class representing a point of interest on the map
Definition: GeoDataPlacemark.h:48
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
GeoDataLinearRing & outerBoundary()
Returns the outer boundary that is represented as a LinearRing.
Definition: GeoDataPolygon.cpp:135
OsmPlacemarkData & osmData()
Quick, safe accessor to the placemark's OsmPlacemarkData stored within it's ExtendedData.
Definition: GeoDataPlacemark.cpp:157
QVector::const_iterator constBegin() const const
A class that can contain other GeoDataGeometry objects.
Definition: GeoDataMultiGeometry.h:28
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition: GeoDataLinearRing.h:62
static void registerId(qint64 id)
registerId is used to keep track of the minimum id
Definition: OsmObjectManager.cpp:113
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:53:22 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:53:22 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.