Marble
GeoDataTrack.h
a class which allows to add custom data to KML Feature.
Definition GeoDataExtendedData.h:31
A class that defines a 3D bounding box for geographic data.
Definition GeoDataLatLonAltBox.h:40
A LineString that allows to store a contiguous set of line segments.
Definition GeoDataLineString.h:66
A geometry for tracking objects made of (time, coordinates) pairs.
Definition GeoDataTrack.h:52
void appendAltitude(qreal altitude)
Add altitude information to the last appended coordinates.
Definition GeoDataTrack.cpp:239
void addPoint(const QDateTime &when, const GeoDataCoordinates &coord)
Add a new point with coordinates coord associated with the time value when.
Definition GeoDataTrack.cpp:211
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:127
void setInterpolate(bool on)
Set whether coordinatesAt() should use interpolation.
Definition GeoDataTrack.cpp:108
void appendCoordinates(const GeoDataCoordinates &coord)
Add the coordinates part for a new point.
Definition GeoDataTrack.cpp:229
void appendWhen(const QDateTime &when)
Add the time value part for a new point.
Definition GeoDataTrack.cpp:254
bool interpolate() const
Returns true if coordinatesAt() should use interpolation, false otherwise.
Definition GeoDataTrack.cpp:102
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:150
QList< QDateTime > whenList() const
Returns the time value of all the points in the map, in chronological order.
Definition GeoDataTrack.cpp:144
void removeAfter(const QDateTime &when)
Remove all points from the track whose time value is greater than when.
Definition GeoDataTrack.cpp:289
void setExtendedData(const GeoDataExtendedData &extendedData)
Sets the ExtendedData of the feature.
Definition GeoDataTrack.cpp:330
const GeoDataExtendedData & extendedData() const
Return the ExtendedData assigned to the feature.
Definition GeoDataTrack.cpp:324
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:116
void removeBefore(const QDateTime &when)
Remove all points from the track whose time value is less than when.
Definition GeoDataTrack.cpp:272
const char * nodeType() const override
Provides type information for downcasting a GeoNode.
Definition GeoDataTrack.cpp:67
QList< GeoDataCoordinates > coordinatesList() const
Returns the coordinates of all the points in the map, sorted by their time value.
Definition GeoDataTrack.cpp:138
const GeoDataLineString * lineString() const
Return the GeoDataLineString representing the current track.
Definition GeoDataTrack.cpp:305
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:09 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.