com.sun.syndication.feed.module.georss.geometries
Class Envelope
java.lang.Object
com.sun.syndication.feed.module.georss.geometries.AbstractGeometry
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
Constructor Summary |
Envelope()
Creates a new instance of Envelope |
Envelope(double minLatitude,
double minLongitude,
double maxLatitude,
double maxLongitude)
Construct object from coordinate values |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
minLatitude
protected double minLatitude
minLongitude
protected double minLongitude
maxLatitude
protected double maxLatitude
maxLongitude
protected double maxLongitude
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
-
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