adamfranco / curvature

Find roads that are the most curvy or twisty based on Open Street Map (OSM) data.
http://roadcurvature.com/
225 stars 39 forks source link

Refactored AddSegmentLengthAndRadius to make the code more readable #49

Closed Fonsan closed 7 years ago

Fonsan commented 7 years ago

Found myself trying to understand in detail how the radius was calculated and refactored this class in the process

adamfranco commented 7 years ago

Thanks for this improvement!