#include "actioninterface.h"
#include "vector.h"
-class RS_Line;
+class Line;
/**
* This action class can handle user events to draw bisectors.
};
public:
- ActionDrawLineBisector(RS_EntityContainer & container, GraphicView & graphicView);
+ ActionDrawLineBisector(EntityContainer & container, GraphicView & graphicView);
~ActionDrawLineBisector();
virtual RS2::ActionType rtti();
virtual void trigger();
virtual void mouseMoveEvent(QMouseEvent * e);
virtual void mouseReleaseEvent(QMouseEvent * e);
- virtual void commandEvent(RS_CommandEvent * e);
+ virtual void commandEvent(CommandEvent * e);
virtual QStringList getAvailableCommands();
virtual void hideOptions();
virtual void showOptions();
private:
/** Closest bisector. */
- RS_Line * bisector;
+ Line * bisector;
/** First chosen entity */
- RS_Line * line1;
+ Line * line1;
/** Second chosen entity */
- RS_Line * line2;
+ Line * line2;
/** Data of new bisector */
- RS_LineData data;
+ LineData data;
/** Length of the bisector. */
double length;
/** Number of bisectors to create. */