You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just came across this: the find_index_at_position method of the Line Class seems to return faulty indices. My intent was to enter a new point at a certain position on the Line and to make that point the very first one of the vertices.
Only for some of my lines, the returned index was more than 200 off the correct value. I am so sorry, i cannot share the line data but i can try to share the code reproduce it? if it helps i can try to send the exact line i am showcasing here.
I tried my best to make some kind of minimal example:
Hi
Thanks for reporting the issue, after some investigation I think I found the problem.
I wrote a small test script to verify that the behavior is now correct:
I just came across this: the find_index_at_position method of the Line Class seems to return faulty indices. My intent was to enter a new point at a certain position on the Line and to make that point the very first one of the vertices.
Only for some of my lines, the returned index was more than 200 off the correct value. I am so sorry, i cannot share the line data but i can try to share the code reproduce it? if it helps i can try to send the exact line i am showcasing here.
I tried my best to make some kind of minimal example:
As the image shows, the sampled point was not between the identified indices, but somewhere entirely else:

The text was updated successfully, but these errors were encountered: