Changeset 16160 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/SimplifyWay.java
- Timestamp:
- 2009-06-26T21:58:58+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/SimplifyWay.java
r14121 r16160 83 83 Node n = wnew.nodes.get(i); 84 84 double xte = Math.abs(EARTH_RAD 85 * xtd(fromN. coor.lat() * Math.PI / 180, fromN.coor.lon() * Math.PI / 180, toN.coor.lat() * Math.PI86 / 180, toN. coor.lon() * Math.PI / 180, n.coor.lat() * Math.PI / 180, n.coor.lon() * Math.PI85 * xtd(fromN.getCoor().lat() * Math.PI / 180, fromN.getCoor().lon() * Math.PI / 180, toN.getCoor().lat() * Math.PI 86 / 180, toN.getCoor().lon() * Math.PI / 180, n.getCoor().lat() * Math.PI / 180, n.getCoor().lon() * Math.PI 87 87 / 180)); 88 88 if (xte > xtemax) {
Note:
See TracChangeset
for help on using the changeset viewer.
