Changeset 748 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2008-08-06T08:49:51+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
r655 r748 54 54 // Get average position of all nodes 55 55 Node avn = new Node(new LatLon(0,0)); 56 avn.eastNorth = new EastNorth(0,0); 56 57 for (Node n : nodes) { 57 58 avn.eastNorth = new EastNorth(avn.eastNorth.east()+n.eastNorth.east(), avn.eastNorth.north()+n.eastNorth.north()); 58 avn.coor = Main.proj.eastNorth2latlon(avn.eastNorth);59 59 } 60 60 avn.eastNorth = new EastNorth(avn.eastNorth.east()/nodes.size(), avn.eastNorth.north()/nodes.size());
Note:
See TracChangeset
for help on using the changeset viewer.