diff options
Diffstat (limited to 'Project/Machines.cpp')
-rw-r--r-- | Project/Machines.cpp | 6 |
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(); +} |