diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-04 18:02:03 -0200 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-11-04 18:02:03 -0200 |
commit | 9919f24692c1fe9b8e11fde5c6d5c18f169b5c10 (patch) | |
tree | b8980db8f053d38adcad362f08fce88541cf45bf /Project/Line.cpp | |
parent | 4799019fb948226daf5777d0d3ba41257dd55657 (diff) | |
download | PSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.tar.gz PSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.tar.xz PSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.zip |
Validation implemented
Diffstat (limited to 'Project/Line.cpp')
-rw-r--r-- | Project/Line.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Line.cpp b/Project/Line.cpp index a473562..b7b5ba7 100644 --- a/Project/Line.cpp +++ b/Project/Line.cpp @@ -420,6 +420,12 @@ bool Line::SetNodeParent(Element* parent) return false; } +void Line::SetPowerFlowDirection(PowerFlowDirection pfDirection) +{ + m_pfDirection = pfDirection; + UpdatePowerFlowArrowsPosition(); +} + void Line::UpdatePowerFlowArrowsPosition() { std::vector<wxPoint2DDouble> edges; |