- Timestamp:
- 2020-04-15T22:40:30+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r15449 r16310 224 224 /** 225 225 * Computes the distance between this lat/lon and another point on the earth. 226 * Uses Haversine formula r.226 * Uses <a href="https://en.wikipedia.org/wiki/Haversine_formula">Haversine formula</a>. 227 227 * @param other the other point. 228 228 * @return distance in metres. … … 289 289 * @param ll2 The other lat/lon object 290 290 * @param proportion The proportion to interpolate 291 * @return a new latlon at this position if proportion is 0, at the other position it proportion is 1 and lineary interpolated otherwise. 291 * @return a new latlon at this position if proportion is 0, at the other position it proportion is 1 and linearly interpolated otherwise. 292 292 */ 293 293 public LatLon interpolate(LatLon ll2, double proportion) {
Note:
See TracChangeset
for help on using the changeset viewer.