Class OpenSkyApi.BoundingBox

java.lang.Object
org.opensky.api.OpenSkyApi.BoundingBox
Enclosing class:
OpenSkyApi

public static class OpenSkyApi.BoundingBox extends Object
Represents a bounding box of WGS84 coordinates (decimal degrees) that encompasses a certain area. It is defined by a lower and upper bound for latitude and longitude.
  • Constructor Details

    • BoundingBox

      public BoundingBox(double minLatitude, double maxLatitude, double minLongitude, double maxLongitude)
      Create a bounding box, given the lower and upper bounds for latitude and longitude.
  • Method Details

    • getMinLatitude

      public double getMinLatitude()
    • getMinLongitude

      public double getMinLongitude()
    • getMaxLatitude

      public double getMaxLatitude()
    • getMaxLongitude

      public double getMaxLongitude()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object