Kushan Joshi
4609282e04
Making spec/actions lint free
2016-06-14 16:34:52 +05:30
Kushan Joshi
6ef52256f3
Migrating to lodash v4
2016-05-17 12:37:25 +05:30
Bryan Housel
cab2705d57
Add tests for circularizing concave ways, straight line ways, Add isCircular() test..
2014-04-23 16:11:42 -04:00
John Firebaugh
14bfc52e33
Remove repetition of entity IDs in tests
...
There were several places where the key and entity id
didn't match up.
2013-10-31 15:57:47 -07:00
tyr
e8d637f2bb
Add iD.geo.sphericalDistance
...
iD.geo.euclideanDistance should only be used for calculations of
projected coordinates or display (pixel) coordinates.
iD.geo.sphericalDistance calculates approximate geographical
distances, accounting for distortions at higher latitudes. This
can be used for determining the nearest node (operations.Delete,
actions.Circularize) or relative length comparisons (actions.Split).
2013-09-29 07:45:04 -07:00
Paul Mach
be30344cfd
Improve Circularize Action
2013-09-28 14:33:39 -07:00
John Firebaugh
c50c3121d8
Make Graph#entity strict
...
Use Graph#hasEntity for the previous behavior.
2013-04-24 09:27:37 -07:00
John Firebaugh
80b6e4325f
Circularize preserves direction ( fixes #1082 )
2013-03-19 16:42:30 -07:00
John Firebaugh
e40090b758
Fix circularize with > 12 vertices ( fixes #1054 )
2013-03-18 17:48:15 -07:00
John Firebaugh
e05531ad6c
Fix circularize boundary cases ( fixes #494 )
...
There are still more boundary cases even farther out. But this is
probably sufficient for the real world.
2013-02-08 12:08:48 -08:00