Changeset 12161 in josm for trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
- Timestamp:
- 2017-05-15T15:43:30+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
r11488 r12161 245 245 Node n = wnew.get(i); 246 246 double xte = Math.abs(Ellipsoid.WGS84.a 247 * xtd(fromN.getCoor().lat() * Math.PI / 180, fromN.getCoor().lon() * Math.PI / 180, toN.getCoor().lat() * Math.PI 248 / 180, toN.getCoor().lon() * Math.PI / 180, n.getCoor().lat() * Math.PI / 180, n.getCoor().lon() * Math.PI 249 / 180)); 247 * xtd(fromN.lat() * Math.PI / 180, fromN.lon() * Math.PI / 180, toN.lat() * Math.PI / 180, 248 toN.lon() * Math.PI / 180, n.lat() * Math.PI / 180, n.lon() * Math.PI / 180)); 250 249 if (xte > xtemax) { 251 250 xtemax = xte;
Note:
See TracChangeset
for help on using the changeset viewer.