Marble::GeoDataGeometry

Search for usage in LXR

Marble::GeoDataGeometry Class Referenceabstract

#include <GeoDataGeometry.h>

Inheritance diagram for Marble::GeoDataGeometry:

Public Member Functions

AltitudeMode altitudeMode () const
 
virtual GeoDataGeometrycopy () const =0
 
void detach ()
 
bool extrude () const
 
virtual EnumGeometryId geometryId () const =0
 
virtual const GeoDataLatLonAltBoxlatLonAltBox () 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
 
GeoDataObjectoperator= (const GeoDataObject &)
 
void pack (QDataStream &stream) const override
 
GeoDataObjectparent ()
 
const GeoDataObjectparent () 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
 
GeoDataGeometryoperator= (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.)

See also
GeoDataLineString
GeoDataLinearRing
GeoDataPolygon

Definition at line 36 of file GeoDataGeometry.h.

Constructor & Destructor Documentation

◆ ~GeoDataGeometry()

Marble::GeoDataGeometry::~GeoDataGeometry ( )
override

Definition at line 42 of file GeoDataGeometry.cpp.

◆ GeoDataGeometry() [1/2]

Marble::GeoDataGeometry::GeoDataGeometry ( GeoDataGeometryPrivate * priv)
explicitprotected

Definition at line 35 of file GeoDataGeometry.cpp.

◆ GeoDataGeometry() [2/2]

Marble::GeoDataGeometry::GeoDataGeometry ( const GeoDataGeometry & other)
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]

bool Marble::GeoDataGeometry::equals ( const GeoDataGeometry & other) const
protected

Definition at line 173 of file GeoDataGeometry.cpp.

◆ equals() [2/2]

bool Marble::GeoDataObject::equals ( const GeoDataObject & other) const
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()

const GeoDataLatLonAltBox & Marble::GeoDataGeometry::latLonAltBox ( ) const
virtual

◆ operator!=()

bool Marble::GeoDataGeometry::operator!= ( const GeoDataGeometry & other) const
inline

Definition at line 46 of file GeoDataGeometry.h.

◆ operator=()

GeoDataGeometry & Marble::GeoDataGeometry::operator= ( const GeoDataGeometry & other)
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()

void Marble::GeoDataGeometry::pack ( QDataStream & stream) const
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()

void Marble::GeoDataGeometry::unpack ( QDataStream & stream)
override

Unserialize the contents of the feature from stream.

Definition at line 162 of file GeoDataGeometry.cpp.

Member Data Documentation

◆ d_ptr

GeoDataGeometryPrivate* Marble::GeoDataGeometry::d_ptr
protected

Definition at line 76 of file GeoDataGeometry.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:59:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.