Package com.azure.core.models
Class GeoBoundingBox
- java.lang.Object
-
- com.azure.core.models.GeoBoundingBox
-
public final class GeoBoundingBox extends Object
Represents a geometric bounding box.
-
-
Constructor Summary
Constructors Constructor Description GeoBoundingBox(double west, double south, double east, double north)
Constructs a bounding box.GeoBoundingBox(double west, double south, double east, double north, double minAltitude, double maxAltitude)
Constructs a bounding box.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
double
getEast()
The east longitudinal boundary of the bounding box.Double
getMaxAltitude()
The maximum altitude boundary of the bounding box.Double
getMinAltitude()
The minimum altitude boundary of the bounding box.double
getNorth()
The north latitudinal boundary of the bounding box.double
getSouth()
The south latitudinal boundary of the bounding box.double
getWest()
The west longitudinal boundary of the bounding box.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
GeoBoundingBox
public GeoBoundingBox(double west, double south, double east, double north)
Constructs a bounding box.- Parameters:
west
- West longitudinal boundary.south
- South latitudinal boundary.east
- East longitudinal boundary.north
- North latitudinal boundary.
-
GeoBoundingBox
public GeoBoundingBox(double west, double south, double east, double north, double minAltitude, double maxAltitude)
Constructs a bounding box.- Parameters:
west
- West longitudinal boundary.south
- South latitudinal boundary.east
- East longitudinal boundary.north
- North latitudinal boundary.minAltitude
- Minimum altitude boundary.maxAltitude
- Maximum altitude boundary.
-
-
Method Detail
-
getWest
public double getWest()
The west longitudinal boundary of the bounding box.- Returns:
- The west longitudinal boundary.
-
getSouth
public double getSouth()
The south latitudinal boundary of the bounding box.- Returns:
- The south latitudinal boundary.
-
getEast
public double getEast()
The east longitudinal boundary of the bounding box.- Returns:
- The east longitudinal boundary.
-
getNorth
public double getNorth()
The north latitudinal boundary of the bounding box.- Returns:
- The north latitudinal boundary.
-
getMinAltitude
public Double getMinAltitude()
The minimum altitude boundary of the bounding box.- Returns:
- The minimum altitude boundary.
-
getMaxAltitude
public Double getMaxAltitude()
The maximum altitude boundary of the bounding box.- Returns:
- The maximum altitude boundary.
-
-