Changeset 29854 in osm for applications/editors/josm/plugins/pdfimport/src
- Timestamp:
- 2013-08-21T03:47:16+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/pdfimport/src/pdfimport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/src/pdfimport/FilePlacement.java
r28448 r29854 200 200 public LatLon tranformCoords(Point2D pt) { 201 201 202 if (this.projection == null){ 202 if (this.projection == null) { 203 203 return new LatLon(pt.getY() / 1000, pt.getX() / 1000); 204 } 205 else{ 206 this.transform.transform(pt, en); 204 } else { 205 Point2D dest = new Point2D.Double(); 206 this.transform.transform(pt, dest); 207 en = new EastNorth(dest.getX(), dest.getY()); 207 208 return this.projection.eastNorth2latlon(en); 208 209 } … … 210 211 211 212 public EastNorth reverseTransform(LatLon coor) { 212 if (this.projection == null){ 213 213 if (this.projection == null) { 214 214 return new EastNorth(coor.lon() * 1000, coor.lat() * 1000); 215 } 216 else{ 215 } else { 217 216 return null; 218 217 } -
applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfMultiPath.java
r25349 r29854 1 1 package pdfimport; 2 2 3 import java.util.ArrayList;4 3 import java.util.List; 5 4
Note:
See TracChangeset
for help on using the changeset viewer.