Changeset 19319 in josm for trunk/src/org
- Timestamp:
- 2025-02-14T10:30:06+01:00 (10 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/coor/LatLon.java
r18589 r19319 178 178 * @deprecated since 18464 (use {@link ILatLon#equalsEpsilon(ILatLon)} instead) 179 179 */ 180 @Deprecated 180 @Deprecated(since = "18464", forRemoval = true) 181 181 public boolean equalsEpsilon(LatLon other) { 182 182 return ILatLon.super.equalsEpsilon(other); 183 }184 185 /**186 * Determines if this lat/lon is outside of the world187 * @return <code>true</code>, if the coordinate is outside the world, compared by using lat/lon.188 * @deprecated use {@link Node#isOutSideWorld} instead, see also #13538.189 */190 @Deprecated191 public boolean isOutSideWorld() {192 Bounds b = ProjectionRegistry.getProjection().getWorldBoundsLatLon();193 return lat() < b.getMinLat() || lat() > b.getMaxLat() ||194 lon() < b.getMinLon() || lon() > b.getMaxLon();195 183 } 196 184 … … 221 209 * @deprecated since 18494 (use {@link ILatLon#greatCircleDistance(ILatLon)} instead) 222 210 */ 223 @Deprecated 211 @Deprecated(since = "18494", forRemoval = true) 224 212 public double greatCircleDistance(LatLon other) { 225 213 return ILatLon.super.greatCircleDistance(other); … … 242 230 * @deprecated since 18494 (use {@link ILatLon#bearing(ILatLon)} instead) 243 231 */ 244 @Deprecated 232 @Deprecated(since = "18494", forRemoval = true) 245 233 public double bearing(LatLon other) { 246 234 return ILatLon.super.bearing(other);
Note:
See TracChangeset
for help on using the changeset viewer.