com.supermap.services.protocols.wcs
Class BoundingBox
- java.lang.Object
-
- com.supermap.services.protocols.wcs.BoundingBox
-
public class BoundingBox extends java.lang.ObjectThe bounding box of the coverage, used to describe the spatial extent of the coverage.
-
-
Field Summary
Fields Modifier and Type Field and Description java.lang.StringcrsThe coordinate system of the bounding box.intdimensionsCoordinate The dimensions of the reference system.Point2DlowerCornerThe lower left corner defines the edge along the direction of the coordinate value, that is, the edge with the smallest coordinate value.Point2DupperCornerThe upper right corner defines the edge along the direction of the coordinate value, that is, the edge with the largest coordinate value.
-
Constructor Summary
Constructors Constructor and Description BoundingBox()The Constructor.BoundingBox(BoundingBox boundingBox)The Constructor.BoundingBox(double left, double bottom, double right, double top)The Constructor.
-
-
-
Field Detail
-
lowerCorner
public Point2D lowerCorner
The lower left corner defines the edge along the direction of the coordinate value, that is, the edge with the smallest coordinate value.
-
upperCorner
public Point2D upperCorner
The upper right corner defines the edge along the direction of the coordinate value, that is, the edge with the largest coordinate value.
-
crs
public java.lang.String crs
The coordinate system of the bounding box.
-
dimensions
public int dimensions
Coordinate The dimensions of the reference system.
-
-
Constructor Detail
-
BoundingBox
public BoundingBox()
The Constructor.
-
BoundingBox
public BoundingBox(double left, double bottom, double right, double top)The Constructor.
- Parameters:
left- The left side of the bounding box, the minimum value in the X axis direction.bottom- The lower edge of the left border of the bounding box, the minimum value in the Y axis direction.right- The right side of the left side of the bounding box, the maximum value in the X axis direction.top- The top value of the left border of the bounding box, that is, the maximum value in the Y axis direction.
-
BoundingBox
public BoundingBox(BoundingBox boundingBox)
The Constructor.
- Parameters:
boundingBox- bounding box.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
Determines whether the specified BoundingBox object and the current BoundingBox object are equal.
- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object that is compared with the current object.- Returns:
- Returns true if both objects are equal; false otherwise.
-
hashCode
public int hashCode()
Return hash code.
- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash code.
-
-