org.n52.oxf.valueDomains.spatial
Class BoundingBox3D

java.lang.Object
  extended by org.n52.oxf.valueDomains.spatial.BoundingBox
      extended by org.n52.oxf.valueDomains.spatial.BoundingBox3D
All Implemented Interfaces:
IBoundingBox, IRangeValueDomain<IBoundingBox>, IValueDomain<IBoundingBox>

public class BoundingBox3D
extends BoundingBox

This represents a 3-dimensional BoundingBox.

Author:
Arne Broering

Field Summary
 
Fields inherited from class org.n52.oxf.valueDomains.spatial.BoundingBox
crs, dimensions, ERROR_INPUT_COORDINATES, ERROR_NUM_OF_COORINDATE_DIFFER, lowerCorner, upperCorner
 
Constructor Summary
BoundingBox3D(double llx, double lly, double llz, double urx, double ury, double urz)
          this constructor has all required attributes as its parameters.
BoundingBox3D(String crs, double llx, double lly, double llz, double urx, double ury, double urz)
          this constructor has all attributes as its parameters.
 
Method Summary
 double getLlx()
           
 double getLly()
           
 double getLlz()
           
 double getUrx()
           
 double getUry()
           
 double getUrz()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoundingBox3D

public BoundingBox3D(double llx,
                     double lly,
                     double llz,
                     double urx,
                     double ury,
                     double urz)
              throws OXFException
this constructor has all required attributes as its parameters.

Parameters:
lowerLeft - the lowerCorner
upperRight - the upperCorner
Throws:
OXFException - if the dimensions of lowerLeft and upperRight are not the same.

BoundingBox3D

public BoundingBox3D(String crs,
                     double llx,
                     double lly,
                     double llz,
                     double urx,
                     double ury,
                     double urz)
              throws OXFException
this constructor has all attributes as its parameters.

Parameters:
crs - a EPSG String for instance
llx - x-coordinate of the lowerCorner
lly - y-coordinate of the lowerCorner
llz - z-coordinate of the lowerCorner
urx - x-coordinate of the upperCorner
ury - y-coordinate of the upperCorner
urz - z-coordinate of the upperCorner
Throws:
OXFException - if the dimensions of lowerLeft and upperRight are not the same.
Method Detail

getLlx

public double getLlx()

getLly

public double getLly()

getLlz

public double getLlz()

getUrx

public double getUrx()

getUry

public double getUry()

getUrz

public double getUrz()


Copyright © 2012-2013 52north.org. All Rights Reserved.