public class MapLimits
extends java.lang.Object
Constructor and 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.
|
Modifier and Type | Method and 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.
|
public MapLimits()
public MapLimits(int minLatitude, int maxLatitude, int minLongitude, int maxLongitude)
minLatitude
- minimum Latitude valuemaxLatitude
- maximum Latitude valueminLongitude
- minimum Longitude valuemaxLongitude
- maximum Longitude valuepublic float getMinLatitude()
setMinLatitude(float)
public void setMinLatitude(float value)
value
- new valuegetMinLatitude()
public float getMaxLatitude()
setMaxLatitude(float)
public void setMaxLatitude(float value)
value
- new valuegetMaxLatitude()
public float getMinLongitude()
setMinLongitude(float)
public void setMinLongitude(float value)
value
- new valuegetMinLongitude()
public float getMaxLongitude()
setMaxLongitude(float)
public void setMaxLongitude(float value)
value
- new valuegetMaxLongitude()
SSC Feedback.
Copyright © 2003-2018 United States Government as represented by the National Aeronautics and Space Administration. No copyright is claimed in the United States under Title 17, U.S.Code. All Other Rights Reserved.