Changeset 16160 in osm for applications/editors/josm
- Timestamp:
- 2009-06-26T21:58:58+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
r15961 r16160 191 191 for (Node n : nodes) { 192 192 if (!n.deleted && !n.incomplete) { 193 double dist = n. eastNorth.distance(nodeToAdd.eastNorth);193 double dist = n.getEastNorth().distance(nodeToAdd.getEastNorth()); 194 194 if (dist < epsilon) { 195 195 return n; -
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.