Package mil.nga.geopackage.map
Class LatLngBoundingBox
java.lang.Object
mil.nga.geopackage.map.LatLngBoundingBox
Lat Lng Bounding Box, contains left, up, right, and down coordinates as opposed to
the LatLngBounds two corners
- Since:
- 2.0.0
-
Constructor Summary
ConstructorDescriptionEmpty constructorLatLngBoundingBox
(LatLng coordinate) ConstructorLatLngBoundingBox
(LatLng leftCoordinate, LatLng upCoordinate, LatLng rightCoordinate, LatLng downCoordinate) Constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the down coordinateGet the east coordinateGet the left coordinateGet the north coordinateGet the northeast coordinateGet the northwest coordinateGet the right coordinateGet the south coordinateGet the southeast coordinateGet the southwest coordinateGet the up coordinateGet the west coordinatevoid
setDownCoordinate
(LatLng downCoordinate) Set the down coordinatevoid
setLeftCoordinate
(LatLng leftCoordinate) Set the left coordinatevoid
setRightCoordinate
(LatLng rightCoordinate) Set the right coordinatevoid
setUpCoordinate
(LatLng upCoordinate) Set the up coordinate
-
Constructor Details
-
LatLngBoundingBox
public LatLngBoundingBox()Empty constructor -
LatLngBoundingBox
Constructor- Parameters:
coordinate
- coordinate- Since:
- 6.3.0
-
LatLngBoundingBox
public LatLngBoundingBox(LatLng leftCoordinate, LatLng upCoordinate, LatLng rightCoordinate, LatLng downCoordinate) Constructor- Parameters:
leftCoordinate
- left coordinateupCoordinate
- up coordinaterightCoordinate
- right coordinatedownCoordinate
- down coordinate
-
-
Method Details
-
getLeftCoordinate
Get the left coordinate- Returns:
- left coordinate
-
setLeftCoordinate
Set the left coordinate- Parameters:
leftCoordinate
- left coordinate
-
getUpCoordinate
Get the up coordinate- Returns:
- up coordinate
-
setUpCoordinate
Set the up coordinate- Parameters:
upCoordinate
- up coordinate
-
getRightCoordinate
Get the right coordinate- Returns:
- right coordinate
-
setRightCoordinate
Set the right coordinate- Parameters:
rightCoordinate
- right coordinate
-
getDownCoordinate
Get the down coordinate- Returns:
- down coordinate
-
setDownCoordinate
Set the down coordinate- Parameters:
downCoordinate
- down coordinate
-
getWestCoordinate
Get the west coordinate- Returns:
- west coordinate
- Since:
- 6.3.0
-
getNorthwestCoordinate
Get the northwest coordinate- Returns:
- northwest coordinate
- Since:
- 6.3.0
-
getNorthCoordinate
Get the north coordinate- Returns:
- north coordinate
- Since:
- 6.3.0
-
getNortheastCoordinate
Get the northeast coordinate- Returns:
- northeast coordinate
- Since:
- 6.3.0
-
getEastCoordinate
Get the east coordinate- Returns:
- east coordinate
- Since:
- 6.3.0
-
getSoutheastCoordinate
Get the southeast coordinate- Returns:
- southeast coordinate
- Since:
- 6.3.0
-
getSouthCoordinate
Get the south coordinate- Returns:
- south coordinate
- Since:
- 6.3.0
-
getSouthwestCoordinate
Get the southwest coordinate- Returns:
- southwest coordinate
- Since:
- 6.3.0
-