Changeset 35986 in osm for applications/editors/josm/plugins/utilsplugin2/src/org
- Timestamp:
- 2022-06-17T15:05:30+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CircleArcMaker.java
r35978 r35986 22 22 import org.openstreetmap.josm.data.UndoRedoHandler; 23 23 import org.openstreetmap.josm.data.coor.EastNorth; 24 import org.openstreetmap.josm.data.coor. ILatLon;24 import org.openstreetmap.josm.data.coor.LatLon; 25 25 import org.openstreetmap.josm.data.coor.PolarCoor; 26 26 import org.openstreetmap.josm.data.osm.DataSet; … … 108 108 109 109 // see #10777: calculate reasonable number of nodes for full circle (copy from CreateCircleAction) 110 ILatLon ll1 = ProjectionRegistry.getProjection().eastNorth2latlon(p1);111 ILatLon ll2 = ProjectionRegistry.getProjection().eastNorth2latlon(center);110 LatLon ll1 = ProjectionRegistry.getProjection().eastNorth2latlon(p1); 111 LatLon ll2 = ProjectionRegistry.getProjection().eastNorth2latlon(center); 112 112 113 113 double radiusInMeters = ll1.greatCircleDistance(ll2);
Note:
See TracChangeset
for help on using the changeset viewer.