Changeset 35978 in osm for applications/editors/josm/plugins/FastDraw/src
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- Location:
- applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/DrawnPolyLine.java
r34949 r35978 10 10 import java.util.Set; 11 11 12 import org.openstreetmap.josm.data.coor.ILatLon; 12 13 import org.openstreetmap.josm.data.coor.LatLon; 13 14 import org.openstreetmap.josm.gui.MapView; … … 38 39 List<LatLon> pts = getPoints(); 39 40 Iterator<LatLon> it1, it2; 40 LatLon pp1, pp2;41 ILatLon pp1, pp2; 41 42 if (pts.size() < 2) return 0; 42 43 it1 = pts.listIterator(0); … … 368 369 if (k > n) k = n; 369 370 370 LatLon pp1, pp2 = null;371 ILatLon pp1, pp2 = null; 371 372 Iterator<LatLon> it1, it2; 372 373 it1 = pts.listIterator(0); -
applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawingMode.java
r35864 r35978 560 560 // there may be a node with the same coords! 561 561 562 if (nd != null && p.greatCircleDistance(nd .getCoor()) > 0.01) nd = null;562 if (nd != null && p.greatCircleDistance(nd) > 0.01) nd = null; 563 563 if (nd == null) { 564 564 if (i > 0 && p.equals(first)) {
Note:
See TracChangeset
for help on using the changeset viewer.