public class CachedLatLon extends LatLon
Modifier and Type | Field and Description |
---|---|
private Object |
cacheKey |
private EastNorth |
eastNorth |
private static long |
serialVersionUID |
cDdFormatter, cDdHighPrecisionFormatter, MAX_SERVER_INV_PRECISION, MAX_SERVER_PRECISION, NORTH_POLE, SOUTH_POLE, ZERO
x, 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(Object obj) |
EastNorth |
getEastNorth(Projecting projecting)
Replies the projected east/north coordinates.
|
int |
hashCode() |
String |
toString() |
bearing, distance, distanceSq, equalsEpsilon, getCenter, getRoundedToOsmPrecision, greatCircleDistance, interpolate, isIn, isOutSideWorld, isValid, isValidLat, isValidLon, isWithin, lat, lon, normalizeLon, roundToOsmPrecision, toDisplayString, toIntervalLat, toIntervalLon
distance, distance, distanceSq, distanceSq, getX, getY
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
bearing, distanceSq, distanceSq, equalsEpsilon, equalsEpsilon, greatCircleDistance, interpolate, isLatLonKnown
private static final long serialVersionUID
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.