diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-29 17:46:00 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-10-29 17:46:00 -0200 |
commit | 7d4df7195202eaea0e84f227e96f19dec4144081 (patch) | |
tree | 894064c78359c2eca33b344353dbf290ba4df9a3 /Project/Line.h | |
parent | 468ba7581675a23567746628d6777ca411b150d3 (diff) | |
download | PSP.git-7d4df7195202eaea0e84f227e96f19dec4144081.tar.gz PSP.git-7d4df7195202eaea0e84f227e96f19dec4144081.tar.xz PSP.git-7d4df7195202eaea0e84f227e96f19dec4144081.zip |
Power flow arrows implemented
Diffstat (limited to 'Project/Line.h')
-rw-r--r-- | Project/Line.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/Line.h b/Project/Line.h index afabb17..2310126 100644 --- a/Project/Line.h +++ b/Project/Line.h @@ -50,6 +50,7 @@ class Line : public Branch virtual bool GetContextMenu(wxMenu& menu); virtual void RemoveNode(wxPoint2DDouble point); virtual void AddNode(wxPoint2DDouble point); + virtual void RotateNode(Element* parent, bool clockwise = true); virtual void CalculateBoundaries(wxPoint2DDouble& leftUp, wxPoint2DDouble& rightBottom) const; virtual bool ShowForm(wxWindow* parent, Element* element); virtual LineElectricalData GetElectricalData() const { return m_electricaData; } @@ -58,6 +59,7 @@ class Line : public Branch protected: double PointToLineDistance(wxPoint2DDouble point, int* segmentNumber = NULL) const; + void UpdatePowerFlowArrowsPosition(); LineElectricalData m_electricaData; }; |