public class LatLonPointImmutable extends LatLonPointImpl
LatLonPoint
.Modifier and Type | Field and Description |
---|---|
static LatLonPointImmutable |
INVALID |
lat, lon
Constructor and Description |
---|
LatLonPointImmutable(double lat,
double lon) |
LatLonPointImmutable(LatLonPoint pt) |
Modifier and Type | Method and Description |
---|---|
void |
setLatitude(double lat)
Set the latitude, in degrees.
|
void |
setLongitude(double lon)
Set the longitude, in degrees.
|
betweenLon, equals, getClockwiseDistanceTo, getLatitude, getLongitude, hashCode, latNormal, latToString, lonDiff, lonNormal, lonNormal, lonNormal360, lonNormalFrom, lonToString, nearlyEquals, range180, set, set, set, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
nearlyEquals
public static final LatLonPointImmutable INVALID
public LatLonPointImmutable(double lat, double lon)
public LatLonPointImmutable(LatLonPoint pt)
public void setLongitude(double lon) throws UnsupportedOperationException
LatLonPointImpl
setLongitude
in class LatLonPointImpl
lon
- east longitude in degreesUnsupportedOperationException
- because instances of this class are meant to be immutable.public void setLatitude(double lat)
LatLonPointImpl
setLatitude
in class LatLonPointImpl
lat
- north latitude in degreesUnsupportedOperationException
- because instances of this class are meant to be immutable.