Marble
GeoDataTrack.cpp
186 QMap<QDateTime, GeoDataCoordinates>::const_iterator nextEntry = const_cast<const PointMap&>(pointMap).upperBound( when );
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
Definition: GeoDataTrack.cpp:71
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:42
bool interpolate() const
Returns true if coordinatesAt() should use interpolation, false otherwise.
Definition: GeoDataTrack.cpp:110
QVector< GeoDataCoordinates > coordinatesList() const
Returns the coordinates of all the points in the map, sorted by their time value.
Definition: GeoDataTrack.cpp:146
a class which allows to add custom data to KML Feature.
Definition: GeoDataExtendedData.h:30
void appendCoordinates(const GeoDataCoordinates &coord)
Add the coordinates part for a new point.
Definition: GeoDataTrack.cpp:237
QVector< QDateTime > whenList() const
Returns the time value of all the points in the map, in chronological order.
Definition: GeoDataTrack.cpp:152
bool operator==(const GeoDataTrack &other) const
: Equality operators.
Definition: GeoDataTrack.cpp:87
void unpack(QDataStream &stream) override
Unserialize the contents of the feature from stream.
Definition: GeoDataGeometry.cpp:164
QAction * copy(const QObject *recvr, const char *slot, QObject *parent)
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:67
void addPoint(const QDateTime &when, const GeoDataCoordinates &coord)
Add a new point with coordinates coord associated with the time value when.
Definition: GeoDataTrack.cpp:219
const GeoDataLatLonAltBox & latLonAltBox() const override
Returns the smallest latLonAltBox that contains the LineString.
Definition: GeoDataLineString.cpp:794
void setExtendedData(const GeoDataExtendedData &extendedData)
Sets the ExtendedData of the feature.
Definition: GeoDataTrack.cpp:338
void removeBefore(const QDateTime &when)
Remove all points from the track whose time value is less than when.
Definition: GeoDataTrack.cpp:280
void appendWhen(const QDateTime &when)
Add the time value part for a new point.
Definition: GeoDataTrack.cpp:262
void removeAfter(const QDateTime &when)
Remove all points from the track whose time value is greater than when.
Definition: GeoDataTrack.cpp:297
Binds a QML item to a specific geodetic location in screen coordinates.
Definition: AbstractDataPlugin.cpp:22
A geometry for tracking objects made of (time, coordinates) pairs.
Definition: GeoDataTrack.h:50
const GeoDataExtendedData & extendedData() const
Return the ExtendedData assigned to the feature.
Definition: GeoDataTrack.cpp:324
GeoDataCoordinates interpolate(const GeoDataCoordinates &target, double t) const
slerp (spherical linear) interpolation between this coordinate and the given target coordinate
Definition: GeoDataCoordinates.cpp:799
void appendAltitude(qreal altitude)
Add altitude information to the last appended coordinates.
Definition: GeoDataTrack.cpp:247
QDateTime firstWhen() const
Return the time value of the first point in the track, or an invalid QDateTime if the track is empty.
Definition: GeoDataTrack.cpp:124
void setAltitude(const qreal altitude)
set the altitude of the Point in meters
Definition: GeoDataCoordinates.cpp:712
const GeoDataLineString * lineString() const
Return the GeoDataLineString representing the current track.
Definition: GeoDataTrack.cpp:313
QDateTime lastWhen() const
Return the time value of the last point in the track, or an invalid QDateTime if the track is empty.
Definition: GeoDataTrack.cpp:135
void pack(QDataStream &stream) const override
Serialize the contents of the feature to stream.
Definition: GeoDataGeometry.cpp:156
Q_D(Todo)
GeoDataCoordinates coordinatesAt(const QDateTime &when) const
If interpolate() is true, return the coordinates interpolated from the time values before and after w...
Definition: GeoDataTrack.cpp:158
qint64 msecsTo(const QDateTime &other) const const
void setInterpolate(bool on)
Set whether coordinatesAt() should use interpolation.
Definition: GeoDataTrack.cpp:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Oct 4 2023 04:09:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Oct 4 2023 04:09:41 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.