BoundingBox

Bounding box is an area defined by two longitudes and two latitudes, where: Latitude is a decimal number between -90.0 and 90.0. Longitude is a decimal number between -180.0 and 180.0.

  • The most south and west coordinate in bounding box

  • The most north and east coordinate in bounding box

  • Build BoundingBox with array of coordinates

    Constructor would search for the minimal and maximum latitude and longitude.

  • Build BoundingBox based on south-west (bottom-left) and north-east (top-right) coordinates

  • Returns a Boolean value indicating whether the BoundingBox contains the coordinate.