org.deegree.protocol.wps.client.output
Class BBoxOutput

java.lang.Object
  extended by org.deegree.protocol.wps.client.output.ExecutionOutput
      extended by org.deegree.protocol.wps.client.output.BBoxOutput

public class BBoxOutput
extends ExecutionOutput

ExecutionOutput that contains a bounding box value with optional information on the coordinate reference system.

Version:
$Revision: 26137 $, $Date: 2010-08-25 18:05:25 +0200 (Wed, 25 Aug 2010) $
Author:
Andrei Ionita, Markus Schneider, last edited by: $Author: aionita $

Constructor Summary
BBoxOutput(CodeType id, double[] lower, double[] upper, String crs)
          Creates a new BBoxOutput instance.
 
Method Summary
 String getCrs()
          Returns the coordinate system identifier.
 int getDimension()
          Returns the dimension (number of coordinates of lower/upper corner).
 double[] getLower()
          Returns the coordinates of the lower corner.
 double[] getUpper()
          Returns the coordinates of the upper corner.
 
Methods inherited from class org.deegree.protocol.wps.client.output.ExecutionOutput
getId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BBoxOutput

public BBoxOutput(CodeType id,
                  double[] lower,
                  double[] upper,
                  String crs)
Creates a new BBoxOutput instance.

Parameters:
id - output parameter identifier, must not be null
lower - coordinates of the lower corner, must not be null
upper - coordinates of the upper corner, must not be null and have the same length as the lower array
crs - identifier of the coordinate reference system, can be null (unspecified)
Method Detail

getLower

public double[] getLower()
Returns the coordinates of the lower corner.

Returns:
the coordinates of the lower corner, never null

getUpper

public double[] getUpper()
Returns the coordinates of the upper corner.

Returns:
the coordinates of the upper corner, never null

getDimension

public int getDimension()
Returns the dimension (number of coordinates of lower/upper corner).

Returns:
coordinate dimension

getCrs

public String getCrs()
Returns the coordinate system identifier.

Returns:
coordinate system identifier, or null if unspecified


Copyright © 2011. All Rights Reserved.