com.sun.syndication.feed.module.georss.geometries
Class Envelope

java.lang.Object
  extended by com.sun.syndication.feed.module.georss.geometries.AbstractGeometry
      extended by com.sun.syndication.feed.module.georss.geometries.Envelope
All Implemented Interfaces:
java.lang.Cloneable

public class Envelope
extends AbstractGeometry

Envelope, a bounding box spanned by an upper right and lower left corner point. Note that if the box spans the -180 180 degree meridian the numerical value of the minLongitude may be greater than the maxLongitude.

Author:
runaas

Field Summary
protected  double maxLatitude
           
protected  double maxLongitude
           
protected  double minLatitude
           
protected  double minLongitude
           
 
Constructor Summary
Envelope()
          Creates a new instance of Envelope
Envelope(double minLatitude, double minLongitude, double maxLatitude, double maxLongitude)
          Construct object from coordinate values
 
Method Summary
 double getMaxLatitude()
           
 double getMaxLongitude()
           
 double getMinLatitude()
           
 double getMinLongitude()
           
 void setMaxLatitude(double v)
           
 void setMaxLongitude(double v)
           
 void setMinLatitude(double v)
           
 void setMinLongitude(double v)
           
 
Methods inherited from class com.sun.syndication.feed.module.georss.geometries.AbstractGeometry
clone, equals
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minLatitude

protected double minLatitude

minLongitude

protected double minLongitude

maxLatitude

protected double maxLatitude

maxLongitude

protected double maxLongitude
Constructor Detail

Envelope

public Envelope()
Creates a new instance of Envelope


Envelope

public Envelope(double minLatitude,
                double minLongitude,
                double maxLatitude,
                double maxLongitude)
Construct object from coordinate values

Parameters:
minLatitude -
minLongitude -
maxLatitude -
maxLongitude -
Method Detail

getMinLongitude

public double getMinLongitude()
Returns:
the minimum longitude

getMinLatitude

public double getMinLatitude()
Returns:
the minimum latitude

getMaxLongitude

public double getMaxLongitude()
Returns:
the maximum longitude

getMaxLatitude

public double getMaxLatitude()
Returns:
the maximum latitude

setMinLongitude

public void setMinLongitude(double v)
Parameters:
v - minimum longitude

setMinLatitude

public void setMinLatitude(double v)
Parameters:
v - minimum latitude

setMaxLongitude

public void setMaxLongitude(double v)
Parameters:
v - maximum longitude

setMaxLatitude

public void setMaxLatitude(double v)
Parameters:
v - maximum latitude