public class CachedLatLon extends LatLon
Modifier and Type | Field and Description |
---|---|
private EastNorth |
eastNorth |
private Projection |
proj |
private static long |
serialVersionUID |
cDdFormatter, cDdHighPecisionFormatter, EAST, MAX_SERVER_DIGITS, MAX_SERVER_INV_PRECISION, MAX_SERVER_PRECISION, NORTH, SOUTH, WEST, ZERO
x, y
Constructor and Description |
---|
CachedLatLon(double lat,
double lon)
Constructs a new
CachedLatLon . |
CachedLatLon(EastNorth eastNorth)
Constructs a new
CachedLatLon . |
CachedLatLon(LatLon coor)
Constructs a new
CachedLatLon . |
Modifier and Type | Method and Description |
---|---|
EastNorth |
getEastNorth()
Replies the projected east/north coordinates.
|
String |
toString() |
distance, distanceSq, dm, dms, equals, equalsEpsilon, getCenter, getRoundedToOsmPrecision, getRoundedToOsmPrecisionStrict, greatCircleDistance, hashCode, heading, interpolate, isIn, isOutSideWorld, isValid, isValidLat, isValidLon, isWithin, lat, latToString, lon, lonToString, roundToOsmPrecision, roundToOsmPrecisionStrict, toCoordinate, toDisplayString, toIntervalLat, toIntervalLon, toStringCSV
computeHashCode, distance, distance, distanceSq, distanceSq, getX, getY, toBBox, toBBox
private static final long serialVersionUID
private transient Projection proj
public CachedLatLon(double lat, double lon)
CachedLatLon
.lat
- latitudelon
- longitudepublic CachedLatLon(LatLon coor)
CachedLatLon
.coor
- lat/lonpublic CachedLatLon(EastNorth eastNorth)
CachedLatLon
.eastNorth
- easting/northing