ekumenlabs / terminus

Library to create cities and terrains
Apache License 2.0
56 stars 29 forks source link

Improve intersection arcs #217

Closed basicNew closed 7 years ago

basicNew commented 7 years ago

In some cases, the waypoints generated to connect two lanes are not equidistant to the intersection point. This makes connecting them with a single arc not possible, yielding roads where the end of the arc doesn't match the road it should connect to. As an example, below is a small sample of the mcity file we are currently generating:

screenshot from 2017-03-21 14 32 58

As can be seen in the picture, both arcs start in the right position but end in the wrong one. To tackle this we should add a reproducible case to our test cities and verify the fix afterwards.

basicNew commented 7 years ago

Solved by the new implementation based on geometries #221