public class CachedLatLon extends LatLon
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Object |
cacheKey |
private EastNorth |
eastNorth |
private static long |
serialVersionUID |
cDdFormatter, cDdHighPecisionFormatter, MAX_SERVER_INV_PRECISION, MAX_SERVER_PRECISION, NORTH_POLE, SOUTH_POLE, ZEROx, y| Modifier | Constructor and Description |
|---|---|
|
CachedLatLon(double lat,
double lon)
Constructs a new
CachedLatLon. |
|
CachedLatLon(EastNorth eastNorth)
Constructs a new
CachedLatLon. |
private |
CachedLatLon(EastNorth eastNorth,
Projection projection) |
|
CachedLatLon(LatLon coor)
Constructs a new
CachedLatLon. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
EastNorth |
getEastNorth(Projecting projecting)
Replies the projected east/north coordinates.
|
int |
hashCode() |
java.lang.String |
toString() |
bearing, distance, distanceSq, equalsEpsilon, getCenter, getRoundedToOsmPrecision, greatCircleDistance, interpolate, isIn, isOutSideWorld, isValid, isValidLat, isValidLon, isWithin, lat, lon, normalizeLon, roundToOsmPrecision, toDisplayString, toIntervalLat, toIntervalLondistance, distance, distanceSq, distanceSq, getX, getYclone, finalize, getClass, notify, notifyAll, wait, wait, waitisLatLonKnownprivate static final long serialVersionUID
private transient java.lang.Object cacheKey
public CachedLatLon(double lat, double lon)
CachedLatLon.lat - latitudelon - longitudepublic CachedLatLon(LatLon coor)
CachedLatLon.coor - lat/lonpublic CachedLatLon(EastNorth eastNorth)
CachedLatLon.eastNorth - easting/northingprivate CachedLatLon(EastNorth eastNorth, Projection projection)
public final EastNorth getEastNorth(Projecting projecting)
projecting - The projection to use.