Changeset 35978 in osm for applications/editors/josm/plugins/livegps
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/src/livegps/AppendableGpxTrackSegment.java
r35221 r35978 39 39 40 40 if (size > 0) { 41 Double distance = wayPoints[size - 1].getCoor().greatCircleDistance(p.getCoor());42 if (!distance .isNaN() && !distance.isInfinite()) {41 double distance = wayPoints[size - 1].greatCircleDistance(p); 42 if (!Double.isNaN(distance) && !Double.isInfinite(distance)) { 43 43 length += distance; 44 44 }
Note:
See TracChangeset
for help on using the changeset viewer.