- Timestamp:
- 2018-04-23T22:07:31+02:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/osm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/INode.java
r13665 r13666 2 2 package org.openstreetmap.josm.data.osm; 3 3 4 import org.openstreetmap.josm.Main; 4 5 import org.openstreetmap.josm.data.coor.EastNorth; 5 6 import org.openstreetmap.josm.data.coor.ILatLon; … … 25 26 26 27 /** 28 * Replies the projected east/north coordinates. 29 * <p> 30 * Uses the {@link Main#getProjection() global projection} to project the lat/lon-coordinates. 31 * <p> 32 * @return the east north coordinates or {@code null} if {@link #isLatLonKnown()} is false. 33 * @since 13666 34 */ 35 default EastNorth getEastNorth() { 36 return getEastNorth(Main.getProjection()); 37 } 38 39 /** 27 40 * Sets east/north coordinates of this node. 28 41 * @param eastNorth east/north coordinates of this node -
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r13665 r13666 86 86 public double lon() { 87 87 return lon; 88 }89 90 /**91 * Replies the projected east/north coordinates.92 * <p>93 * Uses the {@link Main#getProjection() global projection} to project the lat/lon-coordinates.94 * <p>95 * @return the east north coordinates or {@code null} if {@link #isLatLonKnown()}96 * is false.97 */98 public EastNorth getEastNorth() {99 return getEastNorth(Main.getProjection());100 88 } 101 89
Note: See TracChangeset
for help on using the changeset viewer.