summaryrefslogtreecommitdiffstats
path: root/Project/Machines.cpp
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-11-04 18:02:03 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-11-04 18:02:03 -0200
commit9919f24692c1fe9b8e11fde5c6d5c18f169b5c10 (patch)
treeb8980db8f053d38adcad362f08fce88541cf45bf /Project/Machines.cpp
parent4799019fb948226daf5777d0d3ba41257dd55657 (diff)
downloadPSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.tar.gz
PSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.tar.xz
PSP.git-9919f24692c1fe9b8e11fde5c6d5c18f169b5c10.zip
Validation implemented
Diffstat (limited to 'Project/Machines.cpp')
-rw-r--r--Project/Machines.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Machines.cpp b/Project/Machines.cpp
index 12afe61..f859831 100644
--- a/Project/Machines.cpp
+++ b/Project/Machines.cpp
@@ -232,3 +232,9 @@ void Machines::UpdatePowerFlowArrowsPosition()
CalculatePowerFlowPts(edges);
}
+
+void Machines::SetPowerFlowDirection(PowerFlowDirection pfDirection)
+{
+ m_pfDirection = pfDirection;
+ UpdatePowerFlowArrowsPosition();
+}