Class Position
- java.lang.Object
-
- com.rometools.modules.georss.geometries.Position
-
- All Implemented Interfaces:
Serializable,Cloneable
public class Position extends Object implements Cloneable, Serializable
A two dimensional position represented by latitude and longitude decimal degrees in WGS84- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()booleanequals(Object obj)doublegetLatitude()doublegetLongitude()voidsetLatitude(double latitude)Set the latitudevoidsetLongitude(double longitude)Set the longitude
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getLatitude
public double getLatitude()
- Returns:
- latitude
-
setLatitude
public void setLatitude(double latitude)
Set the latitude- Parameters:
latitude- the new latitude
-
getLongitude
public double getLongitude()
- Returns:
- longitude
-
setLongitude
public void setLongitude(double longitude)
Set the longitude- Parameters:
longitude- the new longitude
-
-