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 Details

    • LatLngBoundingBox

      public LatLngBoundingBox()
      Empty constructor
    • LatLngBoundingBox

      public LatLngBoundingBox(LatLng coordinate)
      Constructor
      Parameters:
      coordinate - coordinate
      Since:
      6.3.0
    • LatLngBoundingBox

      public LatLngBoundingBox(LatLng leftCoordinate, LatLng upCoordinate, LatLng rightCoordinate, LatLng downCoordinate)
      Constructor
      Parameters:
      leftCoordinate - left coordinate
      upCoordinate - up coordinate
      rightCoordinate - right coordinate
      downCoordinate - down coordinate
  • Method Details

    • 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