public class BoundingBox2D extends BoundingBox
crs, dimensions, ERROR_INPUT_COORDINATES, ERROR_NUM_OF_COORINDATE_DIFFER, lowerCorner, upperCorner
Constructor and Description |
---|
BoundingBox2D(double llx,
double lly,
double urx,
double ury)
this constructor has all required attributes as its parameters.
|
BoundingBox2D(String crs,
double llx,
double lly,
double urx,
double ury)
this constructor has all attributes as its parameters.
|
Modifier and Type | Method and Description |
---|---|
Rectangle2D.Double |
asRectangle2D() |
double |
getLlx() |
double |
getLly() |
double |
getUrx() |
double |
getUry() |
containsValue, equals, getCRS, getDepth, getDimensions, getDomainDescription, getHeight, getLowerCorner, getMaxValue, getMinValue, getUpperCorner, getWidth, hashCode, produceValue, setCRS, setDimensions, setLowerCorner, setUpperCorner, toKVPString, toString, toXML
public BoundingBox2D(double llx, double lly, double urx, double ury)
llx
- the x value of the lower left cornerurx
- the x value of the upper right cornerlly
- the y value of the lower left cornerury
- the y value of the upper right cornerIllegalArgumentException
- if the dimensions of lowerLeft and upperRight are not the same.public BoundingBox2D(String crs, double llx, double lly, double urx, double ury)
crs
- a EPSG String for instancellx
- the x value of the lower left cornerurx
- the x value of the upper right cornerlly
- the y value of the lower left cornerury
- the y value of the upper right cornerIllegalArgumentException
- if the dimensions of lowerLeft and upperRight are not the same.public Rectangle2D.Double asRectangle2D()
public double getLlx()
public double getLly()
public double getUrx()
public double getUry()
Copyright © 2012–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.