Changeset 12729 in josm
- Timestamp:
- 2017-09-05T01:27:24+02:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/ILatLon.java
r12725 r12729 41 41 * <p>Replies the projected east/north coordinates.</p> 42 42 * 43 * <p>Uses the {@link Main#getProjection() global projection} to project the la n/lon-coordinates.</p>43 * <p>Uses the {@link Main#getProjection() global projection} to project the lat/lon-coordinates.</p> 44 44 * 45 45 * @return the east north coordinates or {@code null} if #is -
trunk/src/org/openstreetmap/josm/data/osm/Node.java
r12726 r12729 103 103 * Replies the projected east/north coordinates. 104 104 * <p> 105 * Uses the {@link Main#getProjection() global projection} to project the la n/lon-coordinates.105 * Uses the {@link Main#getProjection() global projection} to project the lat/lon-coordinates. 106 106 * @return the east north coordinates or {@code null} if #is 107 107 */ -
trunk/test/unit/org/openstreetmap/josm/actions/upload/FixDataHookTest.java
r12728 r12729 46 46 assertTrue(MainApplication.undoRedo.commands.isEmpty()); 47 47 48 // Complete data set (except empty which cannot be tested anymore)48 // Complete data set (except empty node which cannot be tested anymore) 49 49 Way emptyWay = new Way(); 50 50 Relation emptyRelation = new Relation(); -
trunk/test/unit/org/openstreetmap/josm/data/gpx/GpxDataTest.java
r12171 r12729 334 334 335 335 WayPoint close = data.nearestPointOnTrack(new EastNorth(5, 5), 10); 336 assertEquals(10, close.getEastNorth( ).east(), .01);337 assertEquals(5, close.getEastNorth( ).north(), .01);336 assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01); 337 assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01); 338 338 339 339 close = data.nearestPointOnTrack(new EastNorth(15, 5), 10); 340 assertEquals(10, close.getEastNorth( ).east(), .01);341 assertEquals(5, close.getEastNorth( ).north(), .01);340 assertEquals(10, close.getEastNorth(Main.getProjection()).east(), .01); 341 assertEquals(5, close.getEastNorth(Main.getProjection()).north(), .01); 342 342 343 343 assertNull(data.nearestPointOnTrack(new EastNorth(5, 5), 1));
Note:
See TracChangeset
for help on using the changeset viewer.