QCAD
Open Source 2D CAD
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
 
class  RVector::RVectorLeftRightTopBottomSort
 

Macros

#define RDEFAULT_RVECTOR   RVector()
 

Typedefs

typedef QMultiMap< int, RVector_RMapIntVector
 

Functions

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

Macro Definition Documentation

◆ RDEFAULT_RVECTOR

#define RDEFAULT_RVECTOR   RVector()

Typedef Documentation

◆ _RMapIntVector

typedef QMultiMap<int, RVector> _RMapIntVector

Function Documentation

◆ operator*()

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

Multiplication operator.

◆ operator<<() [1/2]

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

Serializes the given RVector object.

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

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

◆ operator<<() [2/2]

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

Stream operator for QDebug.

◆ operator>>()

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

Deserializes the given RColor object.

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