Changeset 3837 in josm for trunk/src/org/openstreetmap/josm/data/coor
- Timestamp:
- 2011-02-01T01:49:32+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
r1724 r3837 34 34 public EastNorth getCenter(EastNorth en2) { 35 35 return new EastNorth((this.x + en2.x)/2.0, (this.y + en2.y)/2.0); 36 } 37 38 public double distance(EastNorth en2) { 39 return Math.sqrt((this.x-en2.x)*(this.x-en2.x) + (this.y-en2.y)*(this.y-en2.y)); 36 40 } 37 41
Note:
See TracChangeset
for help on using the changeset viewer.