Skip to main content

BoundingBox

BoundingBox

Type: public class

A class that define a bounding box

BoundingBox(Coordinates northEast, Coordinates southWest)

Type: public

Parameter NameTypeDescription
northEastCoordinatesthe north east point
southWestCoordinatesthe south west point

BoundingBox(double west, double south, double east, double north)

Type: public

Parameter NameTypeDescription
westdoublewest longitude
southdoublesouth latitude
eastdoubleeast longitude
northdoublenorth latitude

getNorthEast()

Type: public [Coordinates](/docs/android/Model/Coordinates)

Get the north east point of the BoundingBox

Returned Value: the north east point

getSouthWest()

Type: public [Coordinates](/docs/android/Model/Coordinates)

Get the south west point of the BoundingBox

Returned Value: the south west point