Package mil.nga.geopackage.map
Class LatLngBoundingBox
- java.lang.Object
-
- mil.nga.geopackage.map.LatLngBoundingBox
-
public class LatLngBoundingBox extends Object
Lat Lng Bounding Box, contains left, up, right, and down coordinates as opposed to the LatLngBounds two corners- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description LatLngBoundingBox()Empty constructorLatLngBoundingBox(LatLng leftCoordinate, LatLng upCoordinate, LatLng rightCoordinate, LatLng downCoordinate)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LatLnggetDownCoordinate()Get the down coordinateLatLnggetLeftCoordinate()Get the left coordinateLatLnggetRightCoordinate()Get the right coordinateLatLnggetUpCoordinate()Get the up coordinatevoidsetDownCoordinate(LatLng downCoordinate)Set the down coordinatevoidsetLeftCoordinate(LatLng leftCoordinate)Set the left coordinatevoidsetRightCoordinate(LatLng rightCoordinate)Set the right coordinatevoidsetUpCoordinate(LatLng upCoordinate)Set the up coordinate
-
-
-
Method Detail
-
getLeftCoordinate
public LatLng getLeftCoordinate()
Get the left coordinate- Returns:
- left coordinate
-
setLeftCoordinate
public void setLeftCoordinate(LatLng leftCoordinate)
Set the left coordinate- Parameters:
leftCoordinate- left coordinate
-
getUpCoordinate
public LatLng getUpCoordinate()
Get the up coordinate- Returns:
- up coordinate
-
setUpCoordinate
public void setUpCoordinate(LatLng upCoordinate)
Set the up coordinate- Parameters:
upCoordinate- up coordinate
-
getRightCoordinate
public LatLng getRightCoordinate()
Get the right coordinate- Returns:
- right coordinate
-
setRightCoordinate
public void setRightCoordinate(LatLng rightCoordinate)
Set the right coordinate- Parameters:
rightCoordinate- right coordinate
-
getDownCoordinate
public LatLng getDownCoordinate()
Get the down coordinate- Returns:
- down coordinate
-
setDownCoordinate
public void setDownCoordinate(LatLng downCoordinate)
Set the down coordinate- Parameters:
downCoordinate- down coordinate
-
-