Marble
GeoDataPolygon.cpp
58 if (!GeoDataGeometry::equals(other) || tessellate() != other.tessellate() || isClosed() != other.isClosed() || d->inner.size() != other_d->inner.size()
199 for (QList<GeoDataLinearRing>::const_iterator iterator = d->inner.constBegin(); iterator != d->inner.constEnd(); ++iterator) {
A class that defines a 3D bounding box for geographic data.
Definition GeoDataLatLonAltBox.h:40
void unpack(QDataStream &stream) override
Unserialize the LineString from a stream.
Definition GeoDataLineString.cpp:909
void pack(QDataStream &stream) const override
Serialize the LineString to a stream.
Definition GeoDataLineString.cpp:893
A LinearRing that allows to store a closed, contiguous set of line segments.
Definition GeoDataLinearRing.h:60
void pack(QDataStream &stream) const override
Reimplemented from Serializable.
Definition GeoDataObject.cpp:115
void unpack(QDataStream &steam) override
Reimplemented from Serializable.
Definition GeoDataObject.cpp:121
bool operator==(const GeoDataPolygon &other) const
Returns true/false depending on whether this and other are/are not equal.
Definition GeoDataPolygon.cpp:53
void appendInnerBoundary(const GeoDataLinearRing &boundary)
Appends a given LinearRing as an inner boundary of the Polygon.
Definition GeoDataPolygon.cpp:166
const GeoDataLatLonAltBox & latLonAltBox() const override
Returns the smallest latLonAltBox that contains the Polygon.
Definition GeoDataPolygon.cpp:124
void setTessellate(bool tessellate)
Sets the tessellation property for the Polygon.
Definition GeoDataPolygon.cpp:94
void setOuterBoundary(const GeoDataLinearRing &boundary)
Sets the given LinearRing as an outer boundary of the Polygon.
Definition GeoDataPolygon.cpp:144
GeoDataLinearRing & outerBoundary()
Returns the outer boundary that is represented as a LinearRing.
Definition GeoDataPolygon.cpp:130
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
Definition GeoDataPolygon.cpp:38
void setTessellationFlags(TessellationFlags f)
Sets the given tessellation flags for a Polygon.
Definition GeoDataPolygon.cpp:116
QList< GeoDataLinearRing > & innerBoundaries()
Returns a set of inner boundaries which are represented as LinearRings.
Definition GeoDataPolygon.cpp:152
void unpack(QDataStream &stream) override
Unserialize the Polygon from a stream.
Definition GeoDataPolygon.cpp:206
virtual bool contains(const GeoDataCoordinates &coordinates) const
Returns whether the given coordinates lie within the polygon.
Definition GeoDataPolygon.cpp:233
virtual bool isClosed() const
Returns whether a Polygon is a closed polygon.
Definition GeoDataPolygon.cpp:83
void pack(QDataStream &stream) const override
Serialize the Polygon to a stream.
Definition GeoDataPolygon.cpp:188
bool tessellate() const
Returns whether the Polygon follows the earth's surface.
Definition GeoDataPolygon.cpp:88
GeoDataPolygon(TessellationFlags f=NoTessellation)
Creates a new Polygon.
Definition GeoDataPolygon.cpp:19
TessellationFlags tessellationFlags() const
Returns the tessellation flags for a Polygon.
Definition GeoDataPolygon.cpp:110
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
void append(QList< T > &&value)
void reserve(qsizetype size)
qsizetype size() const const
Q_D(Todo)
This file is part of the KDE documentation.
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
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.