org.gcube.spatial.data.gis.model
Class BoundingBox

java.lang.Object
  extended by org.gcube.spatial.data.gis.model.BoundingBox

public class BoundingBox
extends Object


Field Summary
static BoundingBox WORLD_EXTENT
           
 
Constructor Summary
BoundingBox(double[] bbox)
          Assumed order is E, S, W, N
BoundingBox(double n, double s, double w, double e)
           
 
Method Summary
 double getE()
           
 double getN()
           
 double getS()
           
 double getW()
           
 void setE(double e)
           
 void setN(double n)
           
 void setS(double s)
           
 void setW(double w)
           
 double[] toArray()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WORLD_EXTENT

public static final BoundingBox WORLD_EXTENT
Constructor Detail

BoundingBox

public BoundingBox(double n,
                   double s,
                   double w,
                   double e)

BoundingBox

public BoundingBox(double[] bbox)
Assumed order is E, S, W, N

Parameters:
bbox -
Method Detail

getN

public double getN()

setN

public void setN(double n)

getS

public double getS()

setS

public void setS(double s)

getW

public double getW()

setW

public void setW(double w)

getE

public double getE()

setE

public void setE(double e)

toArray

public double[] toArray()
Returns:
E, S, W, N

toString

public String toString()
Overrides:
toString in class Object
Returns:
E, S, W, N


Copyright © 2014. All Rights Reserved.