When I add a segment on a link, I want to make it avoid other objects in the same document.
I am thinking I may need the following to methods:
First one : To determine whether a segment given by two points is across any other objects in the same document.
Second one: To calculate a series points which form a part of a link avoiding any other objects in the same document given a start point and an end point.
The reason that I cannot use the default CalculateStroke method with AdjustingStyle to be Calculate is because this method recalculates the whole link and all previous points are lost.
I know there are some algorithms for this kind of task, but it would be better that GoWin has some help methods I can use.
By the way, here is another question:
How to make sure that points on a link are snapped to the grid in the view? Points from the built-in CalculateStroke method are not.