Open Source 2D CAD
RVector.cpp File Reference
#include <QQuaternion>
#include "RBox.h"
#include "RDebug.h"
#include "RLine.h"
#include "RMath.h"
#include "RMatrix.h"
#include "RPolyline.h"
#include "RSettings.h"
#include "RVector.h"


RVector operator* (double s, const RVector &v)
 Multiplication operator. More...
QDataStream & operator<< (QDataStream &stream, const RVector &vector)
 Serializes the given RVector object. More...
QDebug operator<< (QDebug dbg, const RVector &v)
 Stream operator for QDebug. More...
QDataStream & operator>> (QDataStream &stream, RVector &vector)
 Deserializes the given RColor object. More...

Function Documentation

◆ operator*()

RVector operator* ( double  s,
const RVector v 

Multiplication operator.

◆ operator<<() [1/2]

QDataStream& operator<< ( QDataStream &  stream,
const RVector vector 

Serializes the given RVector object.

Used for RSettings, keep in sync with operator>>.

◆ operator<<() [2/2]

QDebug operator<< ( QDebug  dbg,
const RVector v 

Stream operator for QDebug.

◆ operator>>()

QDataStream& operator>> ( QDataStream &  stream,
RVector vector 

Deserializes the given RColor object.

Non-Scriptable:\nThis function is not available in script environments.\n