Class BBox
java.lang.Object
org.opengis.cite.ogcapifeatures10.util.BBox
BBox class.
- Author:
- Lyn Goltz
-
Constructor Summary
ConstructorsConstructorDescriptionBBox(double minX, double minY, double maxX, double maxY) Constructor for BBox.BBox(double minX, double minY, double maxX, double maxY, CoordinateSystem crs) Constructor for BBox. -
Method Summary
-
Constructor Details
-
BBox
public BBox(double minX, double minY, double maxX, double maxY) Constructor for BBox.
- Parameters:
minX- Lower left corner, coordinate axis 1minY- Lower left corner, coordinate axis 2maxX- Upper right corner, coordinate axis 1maxY- Upper right corner, coordinate axis 2
-
BBox
Constructor for BBox.
- Parameters:
minX- Lower left corner, coordinate axis 1minY- Lower left corner, coordinate axis 2maxX- Upper right corner, coordinate axis 1maxY- Upper right corner, coordinate axis 2crs- CRS of the bbox, may benull
-
-
Method Details
-
getMinX
public double getMinX()Getter for the field
minX.- Returns:
- Lower left corner, coordinate axis 1
-
getMinY
public double getMinY()Getter for the field
minY.- Returns:
- Lower left corner, coordinate axis 2
-
getMaxX
public double getMaxX()Getter for the field
maxX.- Returns:
- Upper right corner, coordinate axis 1
-
getMaxY
public double getMaxY()Getter for the field
maxY.- Returns:
- Upper right corner, coordinate axis 2
-
getCrs
Getter for the field
crs.- Returns:
- CRS of the bbox, never
null
-
asQueryParameter
asQueryParameter.
- Returns:
- the bbox as query string like '-12,10, 12,20'
-
toString
-
equals
-
hashCode
public int hashCode()
-