Marble::GeoDataGeometry
#include <GeoDataGeometry.h>
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 |
Public Member Functions inherited from Marble::GeoDataObject | |
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 |
Public Member Functions inherited from Marble::GeoNode | |
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) |
Protected Member Functions inherited from Marble::GeoDataObject |
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 36 of file GeoDataGeometry.h.
Constructor & Destructor Documentation
◆ ~GeoDataGeometry()
|
override |
Definition at line 42 of file GeoDataGeometry.cpp.
◆ GeoDataGeometry() [1/2]
|
explicitprotected |
Definition at line 35 of file GeoDataGeometry.cpp.
◆ GeoDataGeometry() [2/2]
|
explicitprotected |
Definition at line 28 of file GeoDataGeometry.cpp.
Member Function Documentation
◆ altitudeMode()
AltitudeMode Marble::GeoDataGeometry::altitudeMode | ( | ) | const |
Definition at line 138 of file GeoDataGeometry.cpp.
◆ detach()
void Marble::GeoDataGeometry::detach | ( | ) |
Definition at line 48 of file GeoDataGeometry.cpp.
◆ equals() [1/2]
|
protected |
Definition at line 173 of file GeoDataGeometry.cpp.
◆ equals() [2/2]
|
protectedvirtual |
Compares the value of id and targetId of the two objects.
- Returns
- true if they these values are equal or false otherwise
Reimplemented from Marble::GeoDataObject.
Definition at line 92 of file GeoDataObject.cpp.
◆ extrude()
bool Marble::GeoDataGeometry::extrude | ( | ) | const |
Definition at line 127 of file GeoDataGeometry.cpp.
◆ latLonAltBox()
|
virtual |
Reimplemented in Marble::GeoDataBuilding, Marble::GeoDataLineString, and Marble::GeoDataPolygon.
Definition at line 149 of file GeoDataGeometry.cpp.
◆ operator!=()
|
inline |
Definition at line 46 of file GeoDataGeometry.h.
◆ operator=()
|
protected |
Definition at line 63 of file GeoDataGeometry.cpp.
◆ operator==()
bool Marble::GeoDataGeometry::operator== | ( | const GeoDataGeometry & | other | ) | const |
Definition at line 76 of file GeoDataGeometry.cpp.
◆ pack()
|
override |
Serialize the contents of the feature to stream
.
Definition at line 154 of file GeoDataGeometry.cpp.
◆ setAltitudeMode()
void Marble::GeoDataGeometry::setAltitudeMode | ( | const AltitudeMode | altitudeMode | ) |
Definition at line 143 of file GeoDataGeometry.cpp.
◆ setExtrude()
void Marble::GeoDataGeometry::setExtrude | ( | bool | extrude | ) |
Definition at line 132 of file GeoDataGeometry.cpp.
◆ unpack()
|
override |
Unserialize the contents of the feature from stream
.
Definition at line 162 of file GeoDataGeometry.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 76 of file GeoDataGeometry.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.