Changeset 35976 in osm for applications/editors/josm/plugins/turnrestrictions/src
- Timestamp:
- 2022-06-14T20:11:21+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/TurnRestrictionBuilder.java
r34976 r35976 64 64 Node n1 = nodes.get(1); 65 65 66 double x = n1. getCoor().getX() - n0.getCoor().getX();67 double y = n1. getCoor().getY() - n0.getCoor().getY();66 double x = n1.lon() - n0.lon(); 67 double y = n1.lat() - n0.lat(); 68 68 return Math.atan2(y, x); 69 69 }
Note:
See TracChangeset
for help on using the changeset viewer.