marble
KmlLatLonAltBoxWriter.cpp
Go to the documentation of this file.
35 writer.writeTextElement( kml::kmlTag_north, QString::number(latLonAltBox->north( GeoDataCoordinates::Degree )) );
36 writer.writeTextElement( kml::kmlTag_south, QString::number(latLonAltBox->south( GeoDataCoordinates::Degree )) );
37 writer.writeTextElement( kml::kmlTag_east, QString::number(latLonAltBox->east( GeoDataCoordinates::Degree )) );
38 writer.writeTextElement( kml::kmlTag_west, QString::number(latLonAltBox->west( GeoDataCoordinates::Degree )) );
39 writer.writeTextElement( kml::kmlTag_minAltitude, QString::number(latLonAltBox->minAltitude()) );
40 writer.writeTextElement( kml::kmlTag_maxAltitude, QString::number(latLonAltBox->maxAltitude()) );
static void writeAltitudeMode(GeoWriter &writer, AltitudeMode altitudeMode)
Definition: KmlGroundOverlayWriter.cpp:71
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:60
AltitudeMode altitudeMode() const
Get the reference system for the altitude.
Definition: GeoDataLatLonAltBox.cpp:146
const char * kmlTag_maxAltitude
Definition: KmlElementDictionary.cpp:112
static void writeIdentifiers(GeoWriter &writer, const GeoDataObject *object)
Parses the id and targetId attributes and assign their values to the given object.
Definition: KmlObjectTagWriter.cpp:15
qreal north(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the northern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:93
qreal east(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the eastern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:135
QString number(int n, int base)
const char * kmlTag_LatLonAltBox
Definition: KmlElementDictionary.cpp:95
Standard Marble way of writing XML This class is intended to be a standardised way of writing XML for...
Definition: GeoWriter.h:29
QPair< QString, QString > QualifiedName
Object Name and Namespace Pair This type is intended to be used in a similar way to.
Definition: GeoTagWriter.h:48
qreal maxAltitude() const
Get the upper altitude boundary of the bounding box.
Definition: GeoDataLatLonAltBox.cpp:136
const char * GeoDataLatLonAltBoxType
Definition: GeoDataTypes.cpp:49
const char * kmlTag_nameSpaceOgc22
Definition: KmlElementDictionary.cpp:34
qreal west(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the western boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:156
const char * kmlTag_minAltitude
Definition: KmlElementDictionary.cpp:120
qreal south(GeoDataCoordinates::Unit unit=GeoDataCoordinates::Radian) const
Get the southern boundary of the bounding box.
Definition: GeoDataLatLonBox.cpp:114
void writeTextElement(const QString &qualifiedName, const QString &text)
virtual bool write(const GeoNode *node, GeoWriter &writer) const
Definition: KmlLatLonAltBoxWriter.cpp:29
static GeoTagWriterRegistrar s_writerLatLonAltBox(GeoTagWriter::QualifiedName(GeoDataTypes::GeoDataLatLonAltBoxType, kml::kmlTag_nameSpaceOgc22), new KmlLatLonAltBoxWriter)
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
qreal minAltitude() const
Get the lower altitude boundary of the bounding box.
Definition: GeoDataLatLonAltBox.cpp:126
void writeEndElement()
void writeStartElement(const QString &qualifiedName)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.