Package gov.nasa.gsfc.spdf.ssc
Class MapLimits
- java.lang.Object
-
- gov.nasa.gsfc.spdf.ssc.MapLimits
-
public class MapLimits extends java.lang.Object
This class represents map limit values for an SSC graphing request.- Version:
- $Revison: $
- Author:
- B. Harris
-
-
Constructor Summary
Constructors Constructor Description MapLimits()
Constructs a MapLimits object with default attribute values of no limits (that is, the entire map [min lat/lon == -90/-180 and max lat/lon == 90/180]).MapLimits(int minLatitude, int maxLatitude, int minLongitude, int maxLongitude)
Constructs a MapLimits object with the given attribute values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getMaxLatitude()
Gets the maximum Latitude value.float
getMaxLongitude()
Gets the maximum Longitude value.float
getMinLatitude()
Gets the minimum Latitude value.float
getMinLongitude()
Gets the minimum Longitude value.void
setMaxLatitude(float value)
Sets the maximum Latitude value.void
setMaxLongitude(float value)
Sets the maximum Longitude value.void
setMinLatitude(float value)
Sets the minimum Latitude value.void
setMinLongitude(float value)
Sets the minimum Longitude value.
-
-
-
Constructor Detail
-
MapLimits
public MapLimits()
Constructs a MapLimits object with default attribute values of no limits (that is, the entire map [min lat/lon == -90/-180 and max lat/lon == 90/180]).
-
MapLimits
public MapLimits(int minLatitude, int maxLatitude, int minLongitude, int maxLongitude)
Constructs a MapLimits object with the given attribute values.- Parameters:
minLatitude
- minimum Latitude valuemaxLatitude
- maximum Latitude valueminLongitude
- minimum Longitude valuemaxLongitude
- maximum Longitude value
-
-
Method Detail
-
getMinLatitude
public float getMinLatitude()
Gets the minimum Latitude value.- Returns:
- minimum Latitude value.
- See Also:
setMinLatitude(float)
-
setMinLatitude
public void setMinLatitude(float value)
Sets the minimum Latitude value.- Parameters:
value
- new value- See Also:
getMinLatitude()
-
getMaxLatitude
public float getMaxLatitude()
Gets the maximum Latitude value.- Returns:
- maximum Latitude value.
- See Also:
setMaxLatitude(float)
-
setMaxLatitude
public void setMaxLatitude(float value)
Sets the maximum Latitude value.- Parameters:
value
- new value- See Also:
getMaxLatitude()
-
getMinLongitude
public float getMinLongitude()
Gets the minimum Longitude value.- Returns:
- minimum Longitude value.
- See Also:
setMinLongitude(float)
-
setMinLongitude
public void setMinLongitude(float value)
Sets the minimum Longitude value.- Parameters:
value
- new value- See Also:
getMinLongitude()
-
getMaxLongitude
public float getMaxLongitude()
Gets the maximum Longitude value.- Returns:
- maximum Longitude value.
- See Also:
setMaxLongitude(float)
-
setMaxLongitude
public void setMaxLongitude(float value)
Sets the maximum Longitude value.- Parameters:
value
- new value- See Also:
getMaxLongitude()
-
-