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 coordinate)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 coordinateLatLnggetEastCoordinate()Get the east coordinateLatLnggetLeftCoordinate()Get the left coordinateLatLnggetNorthCoordinate()Get the north coordinateLatLnggetNortheastCoordinate()Get the northeast coordinateLatLnggetNorthwestCoordinate()Get the northwest coordinateLatLnggetRightCoordinate()Get the right coordinateLatLnggetSouthCoordinate()Get the south coordinateLatLnggetSoutheastCoordinate()Get the southeast coordinateLatLnggetSouthwestCoordinate()Get the southwest coordinateLatLnggetUpCoordinate()Get the up coordinateLatLnggetWestCoordinate()Get the west 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
-
-
-
Constructor Detail
-
LatLngBoundingBox
public LatLngBoundingBox()
Empty constructor
-
LatLngBoundingBox
public LatLngBoundingBox(LatLng coordinate)
Constructor- Parameters:
coordinate- coordinate- Since:
- 6.3.0
-
-
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
-
getWestCoordinate
public LatLng getWestCoordinate()
Get the west coordinate- Returns:
- west coordinate
- Since:
- 6.3.0
-
getNorthwestCoordinate
public LatLng getNorthwestCoordinate()
Get the northwest coordinate- Returns:
- northwest coordinate
- Since:
- 6.3.0
-
getNorthCoordinate
public LatLng getNorthCoordinate()
Get the north coordinate- Returns:
- north coordinate
- Since:
- 6.3.0
-
getNortheastCoordinate
public LatLng getNortheastCoordinate()
Get the northeast coordinate- Returns:
- northeast coordinate
- Since:
- 6.3.0
-
getEastCoordinate
public LatLng getEastCoordinate()
Get the east coordinate- Returns:
- east coordinate
- Since:
- 6.3.0
-
getSoutheastCoordinate
public LatLng getSoutheastCoordinate()
Get the southeast coordinate- Returns:
- southeast coordinate
- Since:
- 6.3.0
-
getSouthCoordinate
public LatLng getSouthCoordinate()
Get the south coordinate- Returns:
- south coordinate
- Since:
- 6.3.0
-
getSouthwestCoordinate
public LatLng getSouthwestCoordinate()
Get the southwest coordinate- Returns:
- southwest coordinate
- Since:
- 6.3.0
-
-