55 #include <QMessageLogger>
59 #include "../vmisc/def.h"
60 #include "../vmisc/vmath.h"
61 #include "../ifc/ifcdef.h"
62 #include "../vgeometry/vpointf.h"
66 #ifdef Q_COMPILER_RVALUE_REFS
68 { Swap(var);
return *
this; }
118 return id ==
d->p1Id ||
id ==
d->p2Id;
127 const qreal angle = qFloor(QLineF(
static_cast<QPointF
>(*p1),
128 static_cast<QPointF
>(*p2)).angle() * 100000.) / 100000.;
virtual QString name() const
name return name graphical object.
void SetType(const VarType &type)
void SetValue(const qreal &value)
void Swap(VInternalVariable &var) Q_DECL_NOTHROW
void SetName(const QString &name)
VInternalVariable & operator=(const VInternalVariable &var)
QSharedDataPointer< VLineAngleData > d
virtual bool Filter(quint32 id) Q_DECL_OVERRIDE
VLineAngle & operator=(const VLineAngle &var)
void Swap(VLineAngle &var) Q_DECL_NOTHROW
void SetValue(const VPointF *p1, const VPointF *p2)
virtual ~VLineAngle() Q_DECL_OVERRIDE
The VPointF class keep data of point.