Remove the node from the middle of the segment without segmented segments
I want to remove the node from the middle of the segment, if I do, the segment will be segmented.
我想从一条线段中间删除一个节点,在那之后,线段将被拆分成2段
So, how to remove the node from the middle of the segment without segmented segments?
所以,如何在不拆分线段的前提下删除中间的节点?
For example, look at picture below:
例如,请看下图:
If I remove Stn3, it will be like this:
如果我删除车站3,就会变成这样:
But I except to get this:
但是我希望得到这样的:
I'm looking forward to this new function, so that I can reduce unnecessary work in sometimes.
我期待这个新功能,然后有时我可以减少不必要的工作
嗨,感谢建议,这个功能确实非常实用,我们会今年内实现 :)
备注:单线很好处理,但是当_车站3_有多条线路连接时,或许可以根据线段属性来判断如何连接?线段的所有属性必须要完全一样,才可以重连。设计上还要考虑清楚,测试也有必要添加 :)
有些线段似乎无法实现直接相连,如:
同一线路的两端并非平滑连接,此时直接看做1条线段是不太可行的。
建议:可以把车站替换为虚拟节点。