52 #ifndef VSPLINEPOINT_H
53 #define VSPLINEPOINT_H
56 #include <QSharedDataPointer>
78 #ifdef Q_COMPILER_RVALUE_REFS
95 QSharedDataPointer<VFSplinePointData>
d;
111 VSplinePoint(
const VPointF &pSpline, qreal angle1,
const QString &angle1F, qreal angle2,
const QString &angle2F,
112 qreal length1,
const QString &length1F, qreal length2,
const QString &length2F);
117 #ifdef Q_COMPILER_RVALUE_REFS
124 void SetP(
const VPointF &value);
126 qreal Angle1()
const;
127 QString Angle1Formula()
const;
128 void SetAngle1(
const qreal &value,
const QString &angle1F);
130 qreal Angle2()
const;
131 QString Angle2Formula()
const;
132 void SetAngle2(
const qreal &value,
const QString &angle2F);
134 qreal Length1()
const;
135 QString Length1Formula()
const;
136 void SetLength1(
const qreal &value,
const QString &length1F);
138 qreal Length2()
const;
139 QString Length2Formula()
const;
140 void SetLength2(
const qreal &value,
const QString &length2F);
142 bool IsMovable()
const;
144 QSharedDataPointer<VSplinePointData>
d;
The VFSplinePoint class keep information about point in spline path. Each point have two angles and t...
void SetKAsm1(const qreal &value)
SetKAsm1 set coefficient of length first control line.
void Swap(VFSplinePoint &point) Q_DECL_NOTHROW
VPointF P() const
P return point.
void SetP(const VPointF &value)
SetP set point.
void SetAngle2(const qreal &value)
SetAngle2 set second angle of spline.
void SetKAsm2(const qreal &value)
SetKAsm2 set coefficient of length second control line.
VFSplinePoint & operator=(const VFSplinePoint &point)
VFSplinePoint()
VFSplinePoint default constructor.
qreal Angle1() const
Angle1 return first angle of spline.
void SetAngle1(const qreal &value)
SetAngle1 set first angle of spline.
QSharedDataPointer< VFSplinePointData > d
qreal KAsm1() const
KAsm1 return coefficient of length first control line.
qreal Angle2() const
Angle2 return second angle of spline.
qreal KAsm2() const
KAsm2 return coefficient of length second control line.
The VPointF class keep data of point.
The VSplinePoint class keep information about point in spline path. Each point have two angles and tw...
QSharedDataPointer< VSplinePointData > d
Q_DECLARE_TYPEINFO(VFSplinePoint, Q_MOVABLE_TYPE)