Package ucar.unidata.geoloc
Class LatLonPointImmutable
java.lang.Object
ucar.unidata.geoloc.LatLonPointImpl
ucar.unidata.geoloc.LatLonPointImmutable
- All Implemented Interfaces:
Serializable,LatLonPoint
Deprecated.
move to implementation classes
An immutable
LatLonPoint.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLatitude(double lat) Deprecated.Set the latitude, in degrees.voidsetLongitude(double lon) Deprecated.Set the longitude, in degrees.Methods inherited from class ucar.unidata.geoloc.LatLonPointImpl
betweenLon, equals, getClockwiseDistanceTo, getLatitude, getLongitude, hashCode, latNormal, latToString, lonDiff, lonNormal, lonNormal, lonNormal360, lonNormalFrom, lonToString, nearlyEquals, range180, set, set, set, toString, toStringMethods inherited from interface ucar.unidata.geoloc.LatLonPoint
nearlyEquals
-
Field Details
-
INVALID
Deprecated.
-
-
Constructor Details
-
LatLonPointImmutable
public LatLonPointImmutable(double lat, double lon) Deprecated. -
LatLonPointImmutable
Deprecated.
-
-
Method Details
-
setLongitude
Deprecated.Description copied from class:LatLonPointImplSet the longitude, in degrees. It is normalized to +/-180.- Overrides:
setLongitudein classLatLonPointImpl- Parameters:
lon- east longitude in degrees- Throws:
UnsupportedOperationException- because instances of this class are meant to be immutable.
-
setLatitude
public void setLatitude(double lat) Deprecated.Description copied from class:LatLonPointImplSet the latitude, in degrees. Must lie beween +/-90- Overrides:
setLatitudein classLatLonPointImpl- Parameters:
lat- north latitude in degrees- Throws:
UnsupportedOperationException- because instances of this class are meant to be immutable.
-