diff options
Diffstat (limited to 'Project/Line.cpp')
-rw-r--r-- | Project/Line.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/Line.cpp b/Project/Line.cpp index ae5e0b3..836ca3c 100644 --- a/Project/Line.cpp +++ b/Project/Line.cpp @@ -480,3 +480,10 @@ void Line::RotateNode(Element* parent, bool clockwise) UpdateSwitchesPosition(); UpdatePowerFlowArrowsPosition(); } + +void Line::SetPointList(std::vector<wxPoint2DDouble> pointList) +{ + m_pointList = pointList; + UpdateSwitchesPosition(); + UpdatePowerFlowArrowsPosition(); +} |