public class BoundingBox
extends java.lang.Object
The bounding box of the coverage, used to describe the spatial extent of the coverage.
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
crs
The coordinate system of the bounding box.
|
int |
dimensions
Coordinate The dimensions of the reference system.
|
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.
|
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.
|
| Constructor and Description |
|---|
BoundingBox()
The Constructor.
|
BoundingBox(BoundingBox boundingBox)
The Constructor.
|
BoundingBox(double left, double bottom, double right, double top)
The Constructor.
|
public Point2D lowerCorner
public Point2D upperCorner
public java.lang.String crs
public int dimensions
public BoundingBox()
The Constructor.
public BoundingBox(double left,
double bottom,
double right,
double top)
The Constructor.
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.public BoundingBox(BoundingBox boundingBox)
The Constructor.
boundingBox - bounding box.public boolean equals(java.lang.Object obj)
Determines whether the specified BoundingBox object and the current BoundingBox object are equal.
equals in class java.lang.Objectobj - the object that is compared with the current object.public int hashCode()
Return hash code.
hashCode in class java.lang.Object