56 #include "../vmisc/def.h"
60 #ifdef Q_COMPILER_RVALUE_REFS
63 Swap(arc);
return *
this;
77 const QString &formulaF2, quint32 idObject,
Draw mode)
90 qreal f1,
const QString &formulaF1, quint32 idObject,
Draw mode)
132 d->formulaF1 = formula;
151 d->formulaF2 = formula;
176 return d->formulaLength;
182 d->formulaLength = formula;
226 QLineF l1(0, 0, 100, 0);
228 QLineF l2(0, 0, 100, 0);
231 qreal ang = l1.angleTo(l2);
244 d->isFlipped = value;
250 d->formulaLength = formula;
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)
VAbstractCurve & operator=(const VAbstractCurve &curve)
virtual void CreateName()=0
quint32 GetDuplicate() const
void Swap(VAbstractCurve &curve) Q_DECL_NOTHROW
virtual QString name() const
name return name graphical object.
quint32 id() const
id return id object.
virtual void setId(const quint32 &id)
setId set id object.
The VPointF class keep data of point.
static Q_REQUIRED_RESULT bool VFuzzyComparePossibleNulls(double p1, double p2)