Class BoundingBox
java.lang.Object
org.opengeospatial.cite.wmts10.ets.core.domain.BoundingBox
Represents a bounding box of a layer from a capabilities document.
- Author:
- Lyn Goltz
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BoundingBox
- Parameters:
crs- of the bounding box, nevernullminX- the min x value, must be a value less than maxXminY- the min y value, must be a value less than maxYmaxX- the max x value, must be a value greater than minXmaxY- the max y value, must be a value greater than minY- Throws:
IllegalArgumentException- if crs isnullor minX greater/equal maxX or minY greater/equal maxY
-
-
Method Details
-
getCrs
- Returns:
- the of the bounding box, never
null
-
getMinX
public double getMinX()- Returns:
- the min x value
-
getMinY
public double getMinY()- Returns:
- the min y value
-
getMaxX
public double getMaxX()- Returns:
- the max x value
-
getMaxY
public double getMaxY()- Returns:
- the max y value
-
getBboxAsString
- Returns:
- bounding box as a string
-
hashCode
public int hashCode() -
equals
-
toString
-