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 booleanequals(Object obj)doublegetLowerLeftLatitude()Get the lower left latitudeStringgetLowerLeftLatitudeText()Get the lower left latitude textdoublegetLowerLeftLongitude()Get the lower left longitudeStringgetLowerLeftLongitudeText()Get the lower left longitude textdoublegetUpperRightLatitude()Set the upper right latitudeStringgetUpperRightLatitudeText()Set the upper right latitude textdoublegetUpperRightLongitude()Set the upper right longitudeStringgetUpperRightLongitudeText()Set the upper right longitude textinthashCode()voidsetLowerLeftLatitude(double lowerLeftLatitude)Set the lower left latitudevoidsetLowerLeftLatitude(String lowerLeftLatitude)Set the lower left latitudevoidsetLowerLeftLongitude(double lowerLeftLongitude)Set the lower left longitudevoidsetLowerLeftLongitude(String lowerLeftLongitude)Set the lower left longitudevoidsetUpperRightLatitude(double upperRightLatitude)Set the upper right latitudevoidsetUpperRightLatitude(String upperRightLatitude)Set the upper right latitudevoidsetUpperRightLongitude(double upperRightLongitude)Set the upper right longitudevoidsetUpperRightLongitude(String upperRightLongitude)Set the upper right longitudeStringtoString()
-
-
-
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
-
-