Marble::GeoDataGeometry
Marble::GeoDataGeometry Class Referenceabstract
#include <GeoDataGeometry.h>
Inheritance diagram for Marble::GeoDataGeometry:

Public Member Functions | |
AltitudeMode | altitudeMode () const |
virtual GeoDataGeometry * | copy () const =0 |
void | detach () |
bool | extrude () const |
virtual EnumGeometryId | geometryId () const =0 |
virtual const GeoDataLatLonAltBox & | latLonAltBox () const |
bool | operator!= (const GeoDataGeometry &other) const |
bool | operator== (const GeoDataGeometry &other) const |
void | pack (QDataStream &stream) const override |
void | setAltitudeMode (const AltitudeMode altitudeMode) |
void | setExtrude (bool extrude) |
void | unpack (QDataStream &stream) override |
![]() | |
GeoDataObject (const GeoDataObject &) | |
QString | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
void | pack (QDataStream &stream) const override |
GeoDataObject * | parent () |
const GeoDataObject * | parent () const |
QString | resolvePath (const QString &relativePath) const |
void | setId (const QString &value) |
void | setParent (GeoDataObject *parent) |
void | setTargetId (const QString &value) |
QString | targetId () const |
void | unpack (QDataStream &steam) override |
![]() | |
virtual const char * | nodeType () const =0 |
Protected Member Functions | |
GeoDataGeometry (const GeoDataGeometry &other) | |
GeoDataGeometry (GeoDataGeometryPrivate *priv) | |
bool | equals (const GeoDataGeometry &other) const |
virtual bool | equals (const GeoDataObject &other) const |
GeoDataGeometry & | operator= (const GeoDataGeometry &other) |
![]() | |
virtual bool | equals (const GeoDataObject &other) const |
Protected Attributes | |
GeoDataGeometryPrivate * | d_ptr |
Detailed Description
A base class for all geodata features.
GeoDataGeometry is the base class for most geodata classes that deal with geometric data (points, linestrings, polygons, etc.)
Definition at line 38 of file GeoDataGeometry.h.
Member Function Documentation
◆ equals()
|
protected |
Compares the value of id and targetId of the two objects.
- Returns
- true if they these values are equal or false otherwise
Definition at line 126 of file GeoDataObject.cpp.
◆ pack()
|
override |
Serialize the contents of the feature to stream
.
Definition at line 156 of file GeoDataGeometry.cpp.
◆ unpack()
|
override |
Unserialize the contents of the feature from stream
.
Definition at line 164 of file GeoDataGeometry.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:51:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Sep 26 2023 03:51:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.