Class BoundingBox


  • public class BoundingBox
    extends Bounding
    The maximum number of BoundedBoxes for a single coordinate is 4.
    lat = 90,-90, long = 180, -180 with any boundary the result is 4 Bounded Boxes.

    The bounded boxes must adhere to the following constraints:
    There are four points. Latitude: 90 to 0 to -90
    Longitude: 180 to 0 -180
    • Field Detail

      • minLatitude

        public Double minLatitude
      • maxLatitude

        public Double maxLatitude
      • minLongitude

        public Double minLongitude
      • maxLongitude

        public Double maxLongitude
    • Constructor Detail

      • BoundingBox

        public BoundingBox()
    • Method Detail

      • getMinLatitude

        public Double getMinLatitude()
      • getMaxLatitude

        public Double getMaxLatitude()
      • getMinLongitude

        public Double getMinLongitude()
      • getMaxLongitude

        public Double getMaxLongitude()
      • setMinLatitude

        protected void setMinLatitude​(Double minLatitude)
      • setMaxLatitude

        protected void setMaxLatitude​(Double maxLatitude)
      • setMinLongitude

        protected void setMinLongitude​(Double minLongitude)
      • setMaxLongitude

        protected void setMaxLongitude​(Double maxLongitude)
      • validate

        public void validate()
        Description copied from class: Bounding
        validates the Longitude and Latitude is valid for the Bounding area.
        Specified by:
        validate in class Bounding
      • getType

        public BoundingType getType()
        Description copied from class: Bounding
        returns the bounding type - radius or box.
        Specified by:
        getType in class Bounding
        Returns: