marble
#include <GeoDataVec2.h>
Public Types | |
enum | Unit { Fraction, Pixels, InsetPixels } |
Public Member Functions | |
GeoDataVec2 () | |
GeoDataVec2 (const qreal &x, const qreal &y, const QString &xunit, const QString &yunit) | |
GeoDataVec2 (const GeoDataVec2 &other) | |
~GeoDataVec2 () | |
bool | operator!= (const GeoDataVec2 &other) const |
GeoDataVec2 & | operator= (const GeoDataVec2 &other) |
bool | operator== (const GeoDataVec2 &other) const |
void | setXunits (Unit xunit) |
void | setYunits (Unit yunit) |
Unit | xunit () const |
Unit | yunit () const |
Public Member Functions inherited from QPointF | |
QPointF () | |
QPointF (const QPoint &point) | |
QPointF (qreal x, qreal y) | |
bool | isNull () const |
qreal | manhattanLength () const |
QPointF & | operator*= (qreal factor) |
QPointF & | operator+= (const QPointF &point) |
QPointF & | operator-= (const QPointF &point) |
QPointF & | operator/= (qreal divisor) |
qreal & | rx () |
qreal & | ry () |
void | setX (qreal x) |
void | setY (qreal y) |
QPoint | toPoint () const |
qreal | x () const |
qreal | y () const |
Detailed Description
Definition at line 22 of file GeoDataVec2.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Fraction | |
Pixels | |
InsetPixels |
Definition at line 25 of file GeoDataVec2.h.
Constructor & Destructor Documentation
Marble::GeoDataVec2::GeoDataVec2 | ( | ) |
Definition at line 33 of file GeoDataVec2.cpp.
Marble::GeoDataVec2::GeoDataVec2 | ( | const qreal & | x, |
const qreal & | y, | ||
const QString & | xunit, | ||
const QString & | yunit | ||
) |
Definition at line 38 of file GeoDataVec2.cpp.
Marble::GeoDataVec2::GeoDataVec2 | ( | const GeoDataVec2 & | other | ) |
Definition at line 61 of file GeoDataVec2.cpp.
Marble::GeoDataVec2::~GeoDataVec2 | ( | ) |
Definition at line 84 of file GeoDataVec2.cpp.
Member Function Documentation
bool Marble::GeoDataVec2::operator!= | ( | const GeoDataVec2 & | other | ) | const |
Definition at line 79 of file GeoDataVec2.cpp.
GeoDataVec2 & Marble::GeoDataVec2::operator= | ( | const GeoDataVec2 & | other | ) |
Definition at line 66 of file GeoDataVec2.cpp.
bool Marble::GeoDataVec2::operator== | ( | const GeoDataVec2 & | other | ) | const |
Definition at line 73 of file GeoDataVec2.cpp.
void Marble::GeoDataVec2::setXunits | ( | Unit | xunit | ) |
Definition at line 94 of file GeoDataVec2.cpp.
void Marble::GeoDataVec2::setYunits | ( | Unit | yunit | ) |
Definition at line 104 of file GeoDataVec2.cpp.
GeoDataVec2::Unit Marble::GeoDataVec2::xunit | ( | ) | const |
Definition at line 89 of file GeoDataVec2.cpp.
GeoDataVec2::Unit Marble::GeoDataVec2::yunit | ( | ) | const |
Definition at line 99 of file GeoDataVec2.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.