#include "qvector2d.h"
#include "qvector3d.h"
#include "qvector4d.h"
#include <QtCore/qdebug.h>
#include <QtCore/qvariant.h>
#include <QtCore/qmath.h>
Go to the source code of this file.
◆ operator<<() [1/2]
Definition at line 488 of file qvector2d.cpp.
490 dbg.
nospace() <<
"QVector2D(" << vector.
x() <<
", " << vector.
y() <<
')';
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
qreal x() const
Returns the x coordinate of this point.
qreal y() const
Returns the y coordinate of this point.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
◆ operator<<() [2/2]
Definition at line 511 of file qvector2d.cpp.
513 stream << double(vector.
x()) <<
double(vector.
y());
qreal x() const
Returns the x coordinate of this point.
qreal y() const
Returns the y coordinate of this point.
◆ operator>>()
Definition at line 530 of file qvector2d.cpp.
void setX(qreal x)
Sets the x coordinate of this point to the given x coordinate.
void setY(qreal y)
Sets the y coordinate of this point to the given y coordinate.