Changeset 71 in josm for src/org/openstreetmap/josm/data/projection/Epsg4263.java
- Timestamp:
- 2006-03-25T16:21:09+01:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/data/projection/Epsg4263.java
r52 r71 1 1 package org.openstreetmap.josm.data.projection; 2 2 3 import org.openstreetmap.josm.data.GeoPoint; 3 import org.openstreetmap.josm.data.coor.LatLon; 4 import org.openstreetmap.josm.data.coor.EastNorth; 4 5 5 6 /** … … 10 11 public class Epsg4263 implements Projection { 11 12 12 public void latlon2xy(GeoPoint p) { 13 p.x = p.lon; 14 p.y = p.lat; 13 public EastNorth latlon2eastNorth(LatLon p) { 14 return new EastNorth(p.lon(), p.lat()); 15 15 } 16 16 17 public void xy2latlon(GeoPoint p) { 18 p.lat = p.y; 19 p.lon = p.x; 17 public LatLon eastNorth2latlon(EastNorth p) { 18 return new LatLon(p.north(), p.east()); 20 19 } 21 20
Note:
See TracChangeset
for help on using the changeset viewer.