TaipanRex / pyvisgraph

Given a list of simple obstacle polygons, build the visibility graph and find the shortest path between two points
MIT License
221 stars 45 forks source link

Collinear bug: different behavior on CW vs CCW edges incident on p in visible_vertices() #12

Closed TaipanRex closed 8 years ago

TaipanRex commented 8 years ago

tests test_colin1 and test_colin2 illustrate this. One way to solve this would be to track the previous point, if it was visible, p is also visible.