50 #include <qcompilerdetection.h>
51 #include <QCoreApplication>
52 #include <QPainterPath>
54 #include <QSharedDataPointer>
84 VSplinePath Rotate(
const QPointF &originPoint, qreal degrees,
const QString &prefix = QString())
const;
85 VSplinePath Flip(
const QLineF &axis,
const QString &prefix = QString())
const;
86 VSplinePath Move(qreal length, qreal angle,
const QString &prefix = QString())
const;
92 #ifdef Q_COMPILER_RVALUE_REFS
100 virtual qint32
CountSubSpl()
const Q_DECL_OVERRIDE;
101 virtual qint32
CountPoints()
const Q_DECL_OVERRIDE;
102 virtual void Clear() Q_DECL_OVERRIDE;
109 virtual qreal
GetEndAngle ()
const Q_DECL_OVERRIDE;
123 QSharedDataPointer<VSplinePathData>
d;
The VPointF class keep data of point.
The VSplinePath class keep information about splinePath.
virtual qreal GetC2Length() const Q_DECL_OVERRIDE
VSplinePath Rotate(const QPointF &originPoint, qreal degrees, const QString &prefix=QString()) const
const VSplinePoint & at(int indx) const
at return spline point by index.
virtual qreal GetStartAngle() const Q_DECL_OVERRIDE
virtual VSpline GetSpline(qint32 index) const Q_DECL_OVERRIDE
GetSpline return spline by index.
virtual qint32 CountPoints() const Q_DECL_OVERRIDE
CountPoints return count of points.
VSplinePath Flip(const QLineF &axis, const QString &prefix=QString()) const
void UpdatePoint(qint32 indexSpline, const SplinePointPosition &pos, const VSplinePoint &point)
UpdatePoint update spline point in list.
VSplinePath & operator=(const VSplinePath &path)
operator = assignment operator.
virtual void Clear() Q_DECL_OVERRIDE
Clear clear list of points.
virtual QVector< VSplinePoint > GetSplinePath() const Q_DECL_OVERRIDE
GetSplinePath return list with spline points.
virtual VPointF FirstPoint() const Q_DECL_OVERRIDE
VSplinePath(quint32 idObject=0, Draw mode=Draw::Calculation)
VSplinePath constructor.
QSharedDataPointer< VSplinePathData > d
virtual qint32 CountSubSpl() const Q_DECL_OVERRIDE
CountSubSpl return count of simple splines.
virtual qreal GetEndAngle() const Q_DECL_OVERRIDE
QVector< VFSplinePoint > GetFSplinePath() const
virtual VPointF LastPoint() const Q_DECL_OVERRIDE
VSplinePoint & operator[](int indx)
operator [] return spline point by index.
VSplinePoint GetSplinePoint(qint32 indexSpline, SplinePointPosition pos) const
GetSplinePoint return spline point from list.
virtual ~VSplinePath() Q_DECL_OVERRIDE
VSplinePath Move(qreal length, qreal angle, const QString &prefix=QString()) const
void Swap(VSplinePath &path) Q_DECL_NOTHROW
void append(const VSplinePoint &point)
append add point in the end of list points.
virtual qreal GetC1Length() const Q_DECL_OVERRIDE
The VSplinePoint class keep information about point in spline path. Each point have two angles and tw...
VSpline class that implements the spline.
Q_DECLARE_TYPEINFO(VSplinePath, Q_MOVABLE_TYPE)