Changeset 10001 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
- Timestamp:
- 2016-03-17T01:50:12+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
r9989 r10001 573 573 if (ws != null) { 574 574 Node n = new Node(Main.map.mapView.getLatLon(e.getX(), e.getY())); 575 EastNorth A= ws.getFirstNode().getEastNorth();576 EastNorth B= ws.getSecondNode().getEastNorth();577 n.setEastNorth(Geometry.closestPointToSegment( A, B, n.getEastNorth()));575 EastNorth a = ws.getFirstNode().getEastNorth(); 576 EastNorth b = ws.getSecondNode().getEastNorth(); 577 n.setEastNorth(Geometry.closestPointToSegment(a, b, n.getEastNorth())); 578 578 Way wnew = new Way(ws.way); 579 579 wnew.addNode(ws.lowerIndex+1, n);
Note:
See TracChangeset
for help on using the changeset viewer.
