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 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.
Constructor & Destructor Documentation
◆ ~GeoDataGeometry()
|
override |
Definition at line 44 of file GeoDataGeometry.cpp.
◆ GeoDataGeometry() [1/2]
|
explicitprotected |
Definition at line 37 of file GeoDataGeometry.cpp.
◆ GeoDataGeometry() [2/2]
|
explicitprotected |
Definition at line 30 of file GeoDataGeometry.cpp.
Member Function Documentation
◆ altitudeMode()
AltitudeMode Marble::GeoDataGeometry::altitudeMode | ( | ) | const |
Definition at line 140 of file GeoDataGeometry.cpp.
◆ detach()
void Marble::GeoDataGeometry::detach | ( | ) |
Definition at line 50 of file GeoDataGeometry.cpp.
◆ equals() [1/2]
|
protected |
Definition at line 175 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 95 of file GeoDataObject.cpp.
◆ extrude()
bool Marble::GeoDataGeometry::extrude | ( | ) | const |
Definition at line 129 of file GeoDataGeometry.cpp.
◆ latLonAltBox()
|
virtual |
Reimplemented in Marble::GeoDataBuilding, Marble::GeoDataLineString, and Marble::GeoDataPolygon.
Definition at line 151 of file GeoDataGeometry.cpp.
◆ operator!=()
|
inline |
Definition at line 48 of file GeoDataGeometry.h.
◆ operator=()
|
protected |
Definition at line 65 of file GeoDataGeometry.cpp.
◆ operator==()
bool Marble::GeoDataGeometry::operator== | ( | const GeoDataGeometry & | other | ) | const |
Definition at line 78 of file GeoDataGeometry.cpp.
◆ pack()
|
override |
Serialize the contents of the feature to stream
.
Definition at line 156 of file GeoDataGeometry.cpp.
◆ setAltitudeMode()
void Marble::GeoDataGeometry::setAltitudeMode | ( | const AltitudeMode | altitudeMode | ) |
Definition at line 145 of file GeoDataGeometry.cpp.
◆ setExtrude()
void Marble::GeoDataGeometry::setExtrude | ( | bool | extrude | ) |
Definition at line 134 of file GeoDataGeometry.cpp.
◆ unpack()
|
override |
Unserialize the contents of the feature from stream
.
Definition at line 164 of file GeoDataGeometry.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 75 of file GeoDataGeometry.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:18 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.