|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <QGCGeoBoundingCube.h>
Inheritance diagram for QGCGeoBoundingCube:
Collaboration diagram for QGCGeoBoundingCube:Public Member Functions | |
| QGCGeoBoundingCube (QObject *parent=nullptr) | |
| QGCGeoBoundingCube (const QGCGeoBoundingCube &other) | |
| QGCGeoBoundingCube (QGeoCoordinate p1, QGeoCoordinate p2) | |
| QGeoCoordinate pointNW MEMBER pointNW | CONSTANT (QGeoCoordinate pointSE MEMBER pointSE CONSTANT) 1 void reset() |
| bool | isValid () const |
| QGeoCoordinate | center () const |
| bool | operator== (const QGCGeoBoundingCube &other) const |
| bool | operator== (const QList< QGeoCoordinate > &coords) const |
| bool | operator!= (const QGCGeoBoundingCube &other) |
| const QGCGeoBoundingCube & | operator= (const QGCGeoBoundingCube &other) |
| QList< QGeoCoordinate > | polygon2D (double clipTo=0.0) const |
| double | width () const |
| double | height () const |
| double | area () const |
| double | radius () const |
Public Attributes | |
| QGeoCoordinate | pointNW |
| QGeoCoordinate | pointSE |
Static Public Attributes | |
| static double | MaxAlt = 1000000.0 |
| static double | MinAlt = -1000000.0 |
| static double | MaxNorth = 90.0 |
| static double | MaxSouth = -90.0 |
| static double | MaxWest = -180.0 |
| static double | MaxEast = 180.0 |
Definition at line 9 of file QGCGeoBoundingCube.h.
| QGCGeoBoundingCube::QGCGeoBoundingCube | ( | QObject * | parent = nullptr | ) |
Definition at line 13 of file QGCGeoBoundingCube.cc.
|
inline |
Definition at line 17 of file QGCGeoBoundingCube.h.
|
inline |
Definition at line 24 of file QGCGeoBoundingCube.h.
| double QGCGeoBoundingCube::area | ( | ) | const |
Definition at line 112 of file QGCGeoBoundingCube.cc.
References height(), isValid(), and width().
Referenced by polygon2D().
| QGeoCoordinate QGCGeoBoundingCube::center | ( | ) | const |
Definition at line 37 of file QGCGeoBoundingCube.cc.
References isValid(), pointNW, and pointSE.
Referenced by polygon2D().
| QGeoCoordinate pointNW MEMBER pointNW QGCGeoBoundingCube::CONSTANT | ( | QGeoCoordinate pointSE MEMBER pointSE | CONSTANT | ) |
| double QGCGeoBoundingCube::height | ( | ) | const |
| bool QGCGeoBoundingCube::isValid | ( | ) | const |
|
inline |
Definition at line 44 of file QGCGeoBoundingCube.h.
|
inline |
Definition at line 49 of file QGCGeoBoundingCube.h.
|
inline |
Definition at line 37 of file QGCGeoBoundingCube.h.
| bool QGCGeoBoundingCube::operator== | ( | const QList< QGeoCoordinate > & | coords | ) | const |
Definition at line 80 of file QGCGeoBoundingCube.cc.
References polygon2D().
| QList< QGeoCoordinate > QGCGeoBoundingCube::polygon2D | ( | double | clipTo = 0.0 | ) | const |
Definition at line 49 of file QGCGeoBoundingCube.cc.
References area(), center(), isValid(), pointNW, and pointSE.
Referenced by operator==().
| double QGCGeoBoundingCube::radius | ( | ) | const |
Definition at line 123 of file QGCGeoBoundingCube.cc.
| double QGCGeoBoundingCube::width | ( | ) | const |
|
static |
Definition at line 66 of file QGCGeoBoundingCube.h.
Referenced by isValid().
|
static |
Definition at line 71 of file QGCGeoBoundingCube.h.
Referenced by isValid().
|
static |
Definition at line 68 of file QGCGeoBoundingCube.h.
Referenced by isValid().
|
static |
Definition at line 69 of file QGCGeoBoundingCube.h.
Referenced by isValid().
|
static |
Definition at line 70 of file QGCGeoBoundingCube.h.
Referenced by isValid().
|
static |
Definition at line 67 of file QGCGeoBoundingCube.h.
Referenced by isValid().
| QGeoCoordinate QGCGeoBoundingCube::pointNW |
Definition at line 64 of file QGCGeoBoundingCube.h.
Referenced by center(), height(), isValid(), operator=(), operator==(), polygon2D(), QGCGeoBoundingCube(), radius(), and width().
| QGeoCoordinate QGCGeoBoundingCube::pointSE |
Definition at line 65 of file QGCGeoBoundingCube.h.
Referenced by center(), height(), isValid(), operator=(), operator==(), polygon2D(), QGCGeoBoundingCube(), radius(), and width().