QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RVector.h File Reference
#include "../core_global.h"
#include <QDebug>
#include <QList>
#include <QMetaType>
#include <QTransform>
#include "RGlobal.h"

Go to the source code of this file.

Classes

class  RVector
 Represents a 3d vector (x/y/z). More...
class  RVector::RVectorAngleSort
class  RVector::RVectorDistanceSort

Macros

#define RDEFAULT_RVECTOR   RVector()

Typedefs

typedef QMultiMap< int, RVector_RMapIntVector

Functions

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

Macro Definition Documentation

#define RDEFAULT_RVECTOR   RVector()

Typedef Documentation

typedef QMultiMap<int, RVector> _RMapIntVector

Function Documentation

QCADCORE_EXPORT RVector operator* ( double  s,
const RVector v 
)

Multiplication operator.

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

Stream operator for QDebug.

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

Serializes the given RVector object.

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

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

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

Deserializes the given RColor object.

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