35 #include "../../tools/drawTools/toolpoint/toolsinglepoint/intersect_circles_tool.h"
36 #include "../ifc/ifcdef.h"
37 #include "../vgeometry/vpointf.h"
38 #include "../vmisc/vabstractapplication.h"
39 #include "../vmisc/vcommonsettings.h"
40 #include "../vpatterndb/vcontainer.h"
41 #include "../vwidgets/vmaingraphicsscene.h"
42 #include "../visualization.h"
44 #include <QGraphicsEllipseItem>
47 #include <QSharedPointer>
63 , m_secondrySupportColor(QColor(
qApp->Settings()->getSecondarySupportColor()))
64 , m_tertiarySupportColor(QColor(
qApp->Settings()->getTertiarySupportColor()))
66 this->setPen(QPen(Qt::NoPen));
97 static_cast<QPointF
>(*second),
void setC1Radius(const QString &value)
virtual void RefreshGeometry() Q_DECL_OVERRIDE
QGraphicsEllipseItem * c2Path
QColor m_secondrySupportColor
QGraphicsEllipseItem * c1Path
void setObject2Id(const quint32 &value)
VScaledEllipse * c2Center
VScaledEllipse * c1Center
void setCrossPoint(const CrossCirclesPoint &value)
QColor m_tertiarySupportColor
virtual void VisualMode(const quint32 &id) Q_DECL_OVERRIDE
IntersectCirclesVisual(const VContainer *data, QGraphicsItem *parent=nullptr)
void setC2Radius(const QString &value)
CrossCirclesPoint crossPoint
The VContainer class container of all variables.
const QSharedPointer< T > GeometricObject(const quint32 &id) const
The VMainGraphicsScene class main scene.
QPointF getScenePos() const
The VPointF class keep data of point.
virtual void AddOnScene() Q_DECL_OVERRIDE
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)
VScaledEllipse * InitPoint(const QColor &color, QGraphicsItem *parent, qreal z=0) const
QRectF PointRect(qreal radius)