Package mil.nga.crs.common
Class GeographicBoundingBox
- java.lang.Object
-
- mil.nga.crs.common.GeographicBoundingBox
-
public class GeographicBoundingBox extends Object
Geographic Bounding Box- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description GeographicBoundingBox()
ConstructorGeographicBoundingBox(double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude)
ConstructorGeographicBoundingBox(String lowerLeftLatitude, String lowerLeftLongitude, String upperRightLatitude, String upperRightLongitude)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
double
getLowerLeftLatitude()
Get the lower left latitudeString
getLowerLeftLatitudeText()
Get the lower left latitude textdouble
getLowerLeftLongitude()
Get the lower left longitudeString
getLowerLeftLongitudeText()
Get the lower left longitude textdouble
getUpperRightLatitude()
Set the upper right latitudeString
getUpperRightLatitudeText()
Set the upper right latitude textdouble
getUpperRightLongitude()
Set the upper right longitudeString
getUpperRightLongitudeText()
Set the upper right longitude textint
hashCode()
void
setLowerLeftLatitude(double lowerLeftLatitude)
Set the lower left latitudevoid
setLowerLeftLatitude(String lowerLeftLatitude)
Set the lower left latitudevoid
setLowerLeftLongitude(double lowerLeftLongitude)
Set the lower left longitudevoid
setLowerLeftLongitude(String lowerLeftLongitude)
Set the lower left longitudevoid
setUpperRightLatitude(double upperRightLatitude)
Set the upper right latitudevoid
setUpperRightLatitude(String upperRightLatitude)
Set the upper right latitudevoid
setUpperRightLongitude(double upperRightLongitude)
Set the upper right longitudevoid
setUpperRightLongitude(String upperRightLongitude)
Set the upper right longitudeString
toString()
-
-
-
Constructor Detail
-
GeographicBoundingBox
public GeographicBoundingBox()
Constructor
-
GeographicBoundingBox
public GeographicBoundingBox(double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude)
Constructor- Parameters:
lowerLeftLatitude
- lower left latitudelowerLeftLongitude
- lower left longitudeupperRightLatitude
- upper right latitudeupperRightLongitude
- upper right longitude
-
GeographicBoundingBox
public GeographicBoundingBox(String lowerLeftLatitude, String lowerLeftLongitude, String upperRightLatitude, String upperRightLongitude)
Constructor- Parameters:
lowerLeftLatitude
- lower left latitudelowerLeftLongitude
- lower left longitudeupperRightLatitude
- upper right latitudeupperRightLongitude
- upper right longitude- Since:
- 1.1.0
-
-
Method Detail
-
getLowerLeftLatitude
public double getLowerLeftLatitude()
Get the lower left latitude- Returns:
- lower left latitude
-
getLowerLeftLatitudeText
public String getLowerLeftLatitudeText()
Get the lower left latitude text- Returns:
- lower left latitude text
- Since:
- 1.1.0
-
setLowerLeftLatitude
public void setLowerLeftLatitude(double lowerLeftLatitude)
Set the lower left latitude- Parameters:
lowerLeftLatitude
- lower left latitude
-
setLowerLeftLatitude
public void setLowerLeftLatitude(String lowerLeftLatitude)
Set the lower left latitude- Parameters:
lowerLeftLatitude
- lower left latitude- Since:
- 1.1.0
-
getLowerLeftLongitude
public double getLowerLeftLongitude()
Get the lower left longitude- Returns:
- lower left longitude
-
getLowerLeftLongitudeText
public String getLowerLeftLongitudeText()
Get the lower left longitude text- Returns:
- lower left longitude text
- Since:
- 1.1.0
-
setLowerLeftLongitude
public void setLowerLeftLongitude(double lowerLeftLongitude)
Set the lower left longitude- Parameters:
lowerLeftLongitude
- lower left longitude
-
setLowerLeftLongitude
public void setLowerLeftLongitude(String lowerLeftLongitude)
Set the lower left longitude- Parameters:
lowerLeftLongitude
- lower left longitude- Since:
- 1.1.0
-
getUpperRightLatitude
public double getUpperRightLatitude()
Set the upper right latitude- Returns:
- upper right latitude
-
getUpperRightLatitudeText
public String getUpperRightLatitudeText()
Set the upper right latitude text- Returns:
- upper right latitude text
- Since:
- 1.1.0
-
setUpperRightLatitude
public void setUpperRightLatitude(double upperRightLatitude)
Set the upper right latitude- Parameters:
upperRightLatitude
- upper right latitude
-
setUpperRightLatitude
public void setUpperRightLatitude(String upperRightLatitude)
Set the upper right latitude- Parameters:
upperRightLatitude
- upper right latitude- Since:
- 1.1.0
-
getUpperRightLongitude
public double getUpperRightLongitude()
Set the upper right longitude- Returns:
- upper right longitude
-
getUpperRightLongitudeText
public String getUpperRightLongitudeText()
Set the upper right longitude text- Returns:
- upper right longitude text
- Since:
- 1.1.0
-
setUpperRightLongitude
public void setUpperRightLongitude(double upperRightLongitude)
Set the upper right longitude- Parameters:
upperRightLongitude
- upper right longitude
-
setUpperRightLongitude
public void setUpperRightLongitude(String upperRightLongitude)
Set the upper right longitude- Parameters:
upperRightLongitude
- upper right longitude- Since:
- 1.1.0
-
-