org.n52.oxf.valueDomains.spatial
Class BoundingBox2D
java.lang.Object
org.n52.oxf.valueDomains.spatial.BoundingBox
org.n52.oxf.valueDomains.spatial.BoundingBox2D
- All Implemented Interfaces:
- IBoundingBox, IRangeValueDomain<IBoundingBox>, IValueDomain<IBoundingBox>
public class BoundingBox2D
- extends BoundingBox
This represents a 2-dimensional BoundingBox.
- Author:
- Arne Broering
Constructor Summary |
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. |
Methods inherited from class org.n52.oxf.valueDomains.spatial.BoundingBox |
containsValue, equals, getCRS, getDepth, getDimensions, getDomainDescription, getHeight, getLowerCorner, getMaxValue, getMinValue, getUpperCorner, getWidth, produceValue, setCRS, setDimensions, setLowerCorner, setUpperCorner, toKVPString, toString, toXML |
BoundingBox2D
public BoundingBox2D(double llx,
double lly,
double urx,
double ury)
- this constructor has all required attributes as its parameters.
- Throws:
IllegalArgumentException
- if the dimensions of lowerLeft and upperRight are not the same.
BoundingBox2D
public BoundingBox2D(String crs,
double llx,
double lly,
double urx,
double ury)
- this constructor has all attributes as its parameters.
- Parameters:
crs
- a EPSG String for instancelowerLeft
- the lowerCornerupperRight
- the upperCorner
- Throws:
IllegalArgumentException
- if the dimensions of lowerLeft and upperRight are not the same.
asRectangle2D
public Rectangle2D.Double asRectangle2D()
getLlx
public double getLlx()
getLly
public double getLly()
getUrx
public double getUrx()
getUry
public double getUry()
Copyright © 2012-2013 52north.org. All Rights Reserved.