QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
MapMarkerGrouping.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QList>
4#include <QtCore/QObject>
5#include <QtCore/QPointF>
6#include <QtQmlIntegration/QtQmlIntegration>
7
11class MapMarkerGrouping : public QObject
12{
13 Q_OBJECT
14 QML_ELEMENT
15 QML_SINGLETON
16
17public:
18 explicit MapMarkerGrouping(QObject* parent = nullptr);
19
25 Q_INVOKABLE static QList<int> representatives(const QList<QPointF>& points, double distance);
26};
static Q_INVOKABLE QList< int > representatives(const QList< QPointF > &points, double distance)