From 9919f24692c1fe9b8e11fde5c6d5c18f169b5c10 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Fri, 4 Nov 2016 18:02:03 -0200 Subject: Validation implemented --- Project/Line.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Project/Line.cpp') 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 edges; -- cgit