Class Envelope
- java.lang.Object
-
- com.rometools.modules.georss.geometries.AbstractGeometry
-
- com.rometools.modules.georss.geometries.Envelope
-
- All Implemented Interfaces:
Serializable,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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected doublemaxLatitudeprotected doublemaxLongitudeprotected doubleminLatitudeprotected doubleminLongitude
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetMaxLatitude()doublegetMaxLongitude()doublegetMinLatitude()doublegetMinLongitude()voidsetMaxLatitude(double v)voidsetMaxLongitude(double v)voidsetMinLatitude(double v)voidsetMinLongitude(double v)-
Methods inherited from class com.rometools.modules.georss.geometries.AbstractGeometry
clone, equals
-
-
-
-
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
-
-