Marble
OsmObjectManager.cpp
49 lineString = geodata_cast<GeoDataLinearRing>(&static_cast<const GeoDataMultiGeometry *>(building->multiGeometry())->at(0));
64 polygon = geodata_cast<GeoDataPolygon>(&static_cast<const GeoDataMultiGeometry *>(building->multiGeometry())->at(0));
QList< GeoDataCoordinates >::ConstIterator constBegin() const
Returns a const iterator that points to the begin of the LineString.
Definition GeoDataLineString.cpp:382
QList< GeoDataCoordinates >::ConstIterator constEnd() const
Returns a const iterator that points to the end of the LineString.
Definition GeoDataLineString.cpp:388
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition GeoDataLinearRing.h:60
A class that can contain other GeoDataGeometry objects.
Definition GeoDataMultiGeometry.h:27
a class representing a point of interest on the map
Definition GeoDataPlacemark.h:47
OsmPlacemarkData & osmData()
Quick, safe accessor to the placemark's OsmPlacemarkData stored within it's ExtendedData.
Definition GeoDataPlacemark.cpp:161
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:137
GeoDataLinearRing & outerBoundary()
Returns the outer boundary that is represented as a LinearRing.
Definition GeoDataPolygon.cpp:130
QList< GeoDataLinearRing > & innerBoundaries()
Returns a set of inner boundaries which are represented as LinearRings.
Definition GeoDataPolygon.cpp:152
static void registerId(qint64 id)
registerId is used to keep track of the minimum id
Definition OsmObjectManager.cpp:114
static void initializeOsmData(GeoDataPlacemark *placemark)
initializeOsmData assigns valid osmData to a placemark that does not have it.
Definition OsmObjectManager.cpp:22
This class is used to encapsulate the osm data fields kept within a placemark's extendedData.
Definition OsmPlacemarkData.h:77
OsmPlacemarkData & nodeReference(const GeoDataCoordinates &coordinates)
this function returns the osmData associated with a nd
Definition OsmPlacemarkData.cpp:163
OsmPlacemarkData & memberReference(int key)
this function returns the osmData associated with a member boundary's index -1 represents the outer b...
Definition OsmPlacemarkData.cpp:194
bool isNull() const
isNull returns false if the osmData is loaded from a source or true if its just default constructed
Definition OsmPlacemarkData.cpp:264
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:127
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
T * geodata_cast(GeoDataObject *node)
Returns the given node cast to type T if the node was instantiated as type T; otherwise returns 0.
Definition GeoDataObject.h:103
ConstIterator
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.