OSUCartography / Flox

Origin-destination flow maps
http://www.cartography.oregonstate.edu/cartography.html
MIT License
9 stars 1 forks source link

Flow.isClose() wrong for thick flows #246

Open berniejenny opened 7 years ago

berniejenny commented 7 years ago

Test whether two flows are closer than a minimum distance fails around starts and ends of flow lines, because the width of flows is not taken into account.

berniejenny commented 7 years ago

Added test with butt cap line at start and end (beyondButtCaps), but it is not clear whether this adds anything. Needs testing. isClose() needs to be overridden by FlowPair and also be overloaded for FlowPair