54 #include <QPainterPath>
56 #include <QSharedPointer>
60 #include "../ifc/ifcdef.h"
61 #include "../vgeometry/vabstractcurve.h"
62 #include "../vgeometry/varc.h"
63 #include "../vgeometry/vpointf.h"
64 #include "../vpatterndb/vcontainer.h"
65 #include "../visualization.h"
67 #include "../vwidgets/scalesceneitems.h"
71 :
VisPath(data, parent), arcCenter(nullptr), radius(0), f1(0), f2(0)
84 if (not qFuzzyIsNull(
radius) &&
f1 >= 0 &&
f2 >= 0)
virtual QVector< DirectionArrow > DirectionArrows() const
virtual QPainterPath GetPath() const
VArc class for anticlockwise arc.
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)