55 #include <QGraphicsLineItem>
58 #include <QSharedPointer>
62 #include "../ifc/ifcdef.h"
63 #include "../vgeometry/vgobject.h"
64 #include "../vgeometry/vpointf.h"
65 #include "../vpatterndb/vcontainer.h"
66 #include "../visualization.h"
71 :
VisLine(data, parent), object2Id(
NULL_ID), point(nullptr), lineP1(nullptr), lineP2(nullptr), line(nullptr),
114 if (not qFuzzyIsNull(
length))
The VContainer class container of all variables.
const QSharedPointer< T > GeometricObject(const quint32 &id) const
static QLineF BuildLine(const QPointF &p1, const qreal &length, const qreal &angle)
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)
virtual void DrawLine(VScaledLine *lineItem, const QLineF &line, const QColor &color, const qreal &lineWeight, Qt::PenStyle style=Qt::SolidLine)
VScaledEllipse * InitPoint(const QColor &color, QGraphicsItem *parent, qreal z=0) const