52 #ifndef VABSTRACTARC_H
53 #define VABSTRACTARC_H
55 #include <qcompilerdetection.h>
56 #include <QSharedDataPointer>
60 #include "../ifc/ifcdef.h"
74 qreal f2,
const QString &formulaF2, quint32 idObject = 0,
90 #ifdef Q_COMPILER_RVALUE_REFS
101 void SetFormulaF2 (
const QString &formula, qreal value);
102 virtual qreal
GetEndAngle ()
const Q_DECL_OVERRIDE;
110 virtual void setId(
const quint32 &
id) Q_DECL_OVERRIDE;
111 virtual QString
NameForHistory(
const QString &toolName)
const Q_DECL_OVERRIDE;
122 QSharedDataPointer<VAbstractArcData>
d;
QSharedDataPointer< VAbstractArcData > d
VAbstractArc(const GOType &type, const quint32 &idObject=null_id, const Draw &mode=Draw::Calculation)
void Swap(VAbstractArc &arc) Q_DECL_NOTHROW
virtual VPointF GetCenter() const
virtual QString NameForHistory(const QString &toolName) const Q_DECL_OVERRIDE
QString GetFormulaF1() const
VAbstractArc & operator=(const VAbstractArc &arc)
QString GetFormulaLength() const
void SetCenter(const VPointF &point)
virtual void FindF2(qreal length)=0
QString GetFormulaF2() const
virtual void setId(const quint32 &id) Q_DECL_OVERRIDE
setId set id object.
void SetFormulaF2(const QString &formula, qreal value)
void SetFormulaLength(const QString &formula, qreal value)
virtual qreal GetEndAngle() const Q_DECL_OVERRIDE
virtual qreal GetStartAngle() const Q_DECL_OVERRIDE
void SetFormulaF1(const QString &formula, qreal value)
void SetFlipped(bool value)
The VPointF class keep data of point.