Class 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 Detail

      • 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 Detail

      • getMinLatitude

        public double getMinLatitude()
      • getMinLongitude

        public double getMinLongitude()
      • getMaxLatitude

        public double getMaxLatitude()
      • getMaxLongitude

        public double getMaxLongitude()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object