29 #include <QPainterPath>
31 #include <QSharedPointer>
35 #include "../ifc/ifcdef.h"
36 #include "../vgeometry/vabstractcurve.h"
37 #include "../vgeometry/vellipticalarc.h"
38 #include "../vgeometry/vpointf.h"
39 #include "../vpatterndb/vcontainer.h"
40 #include "../visualization.h"
44 :
VisPath(data, parent), arcCenter(nullptr), radius1(0), radius2(0), f1(0), f2(0), rotationAngle(0)
virtual QVector< DirectionArrow > DirectionArrows() const
virtual QPainterPath GetPath() const
The VContainer class container of all variables.
const QSharedPointer< T > GeometricObject(const quint32 &id) const
The VPointF class keep data of point.
void DrawPoint(QGraphicsEllipseItem *point, const QPointF &pos, const QColor &color, Qt::PenStyle style=Qt::SolidLine)
static qreal FindLength(const QString &expression, const QHash< QString, QSharedPointer< VInternalVariable > > *vars)
void DrawPath(VCurvePathItem *pathItem, const QPainterPath &path, const QColor &color, Qt::PenStyle style=Qt::SolidLine, const qreal &weight=0.35, Qt::PenCapStyle cap=Qt::SquareCap)
VScaledEllipse * InitPoint(const QColor &color, QGraphicsItem *parent, qreal z=0) const
static qreal FindVal(const QString &expression, const QHash< QString, QSharedPointer< VInternalVariable > > *vars)