6#include <QtQuick/private/qquickanimation_p_p.h>
7#include <QtPositioning/private/qdoublevector2d_p.h>
8#include <QtPositioning/private/qwebmercator_p.h>
9#include <QtPositioning/private/qgeocoordinate_p.h>
63 if (0.5 <
qAbs(toX - fromX)) {
72 x = sx + (ex - sx) * progress;
78 x = fromX + (toX - fromX) * progress;
81 double y = fromY + (toY - fromY) * progress;
99 double diff = toX - fromX;
106 double x = fromX + (toX - fromX) * progress;
107 double y = fromY + (toY - fromY) * progress;
129 double diff = toX - fromX;
136 double x = fromX + (toX - fromX) * progress;
137 double y = fromY + (toY - fromY) * progress;
153 d->interpolatorType = qMetaTypeId<QGeoCoordinate>();
154 d->defaultToInterpolatorType =
true;
176 mercator->
lat =
f.latitude();
177 mercator->
lng =
f.longitude();
178 mercator->
alt =
f.altitude();
199 mercator->
lat =
t.latitude();
200 mercator->
lng =
t.longitude();
201 mercator->
alt =
t.altitude();
229 return d->m_direction.value();
235 d->m_direction.removeBindingUnlessInWrapper();
239 d->m_direction.setValueBypassingBindings(
direction);
252 d->m_direction.notify();
263#include "moc_qquickgeocoordinateanimation_p.cpp"
Q_DECL_CONSTEXPR double x() const
Q_DECL_CONSTEXPR double y() const
static const QGeoCoordinatePrivate * get(const QGeoCoordinate *c)
double altitude
This property holds the altitude in meters above sea level.
QQuickGeoCoordinateAnimation(QObject *parent=0)
void setTo(const QGeoCoordinate &)
void setFrom(const QGeoCoordinate &)
void setDirection(Direction direction)
~QQuickGeoCoordinateAnimation()
QBindable< Direction > bindableDirection()
void setFrom(const QVariant &)
void setTo(const QVariant &)
static Q_CORE_EXPORT QVariantAnimation::Interpolator getInterpolator(int interpolationType)
QVariant(* Interpolator)(const void *from, const void *to, qreal progress)
static auto fromValue(T &&value) noexcept(std::is_nothrow_copy_constructible_v< T > &&Private::CanUseInternalSpace< T >) -> std::enable_if_t< std::conjunction_v< std::is_copy_constructible< T >, std::is_destructible< T > >, QVariant >
constexpr float y() const noexcept
Returns the y coordinate of this point.
constexpr float x() const noexcept
Returns the x coordinate of this point.
static QDoubleVector2D coordToMercator(const QGeoCoordinate &coord)
static QGeoCoordinate coordinateInterpolation(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
static QGeoCoordinate mercatorToCoord(const QDoubleVector2D &mercator)
Combined button and popup list for selecting options.
constexpr T qAbs(const T &t)
GLint GLint GLint GLint GLint x
[0]
QVariant q_coordinateShortestInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
QVariant q_coordinateWestInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
QVariant q_coordinateEastInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
QT_BEGIN_NAMESPACE QVariant q_coordinateInterpolator(const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
\qmltype CoordinateAnimation \inherits PropertyAnimation \inqmlmodule QtPositioning
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent