54 #include <QGraphicsLineItem>
55 #include <QGraphicsPathItem>
56 #include <QPainterPath>
59 #include <QSharedPointer>
62 #include "../../tools/drawTools/toolpoint/toolsinglepoint/vtooltriangle.h"
63 #include "../ifc/ifcdef.h"
64 #include "../vgeometry/vpointf.h"
65 #include "../vmisc/vabstractapplication.h"
66 #include "../vmisc/vmath.h"
67 #include "../vpatterndb/vcontainer.h"
68 #include "../visualization.h"
74 axisP1(nullptr), axisP2(nullptr), axis(nullptr), hypotenuseP1(nullptr), hypotenuseP2(nullptr), foot1(nullptr),
122 static_cast<QPointF
>(*second),
135 DrawLine(
this, QLineF(
static_cast<QPointF
>(*third),
static_cast<QPointF
>(*forth)),
supportColor,
139 static_cast<QPointF
>(*second),
140 static_cast<QPointF
>(*third),
141 static_cast<QPointF
>(*forth));
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)
void drawArrowedLine(ArrowedLineItem *item, const QLineF &line, const QColor &color, Qt::PenStyle style=Qt::SolidLine)
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