QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 "RVector.h"

Functions

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

Function Documentation

RVector operator* ( double  s,
const RVector v 
)

Multiplication operator.

QDebug operator<< ( QDebug  dbg,
const RVector v 
)

Stream operator for QDebug.

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

Serializes the given RVector object.

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

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

Deserializes the given RColor object.

Non-Scriptable:
This function is not available in script environments.