Changeset 10334 in josm for trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
- Timestamp:
- 2016-06-07T21:26:44+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
r9243 r10334 13 13 private static final long serialVersionUID = 1L; 14 14 15 /** 16 * Constructs a new {@code EastNorth}. 17 * @param east easting 18 * @param north northing 19 */ 15 20 public EastNorth(double east, double north) { 16 21 super(east, north); 17 22 } 18 23 24 /** 25 * Returns easting. 26 * @return easting 27 */ 19 28 public double east() { 20 29 return x; 21 30 } 22 31 32 /** 33 * Returns northing. 34 * @return northing 35 */ 23 36 public double north() { 24 37 return y; … … 53 66 } 54 67 68 /** 69 * Scales this {@link EastNorth} instance to a given factor and returns the result. 70 * @param s factor 71 * @return The result. 72 */ 55 73 public EastNorth scale(double s) { 56 74 return new EastNorth(s * x, s * y);
Note:
See TracChangeset
for help on using the changeset viewer.