|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rometools.feed.module.georss.geometries.Position
public class Position
A two dimensional position represented by latitude and longitude decimal degrees in WGS84
| Constructor Summary | |
|---|---|
Position()
Creates a new instance of Position |
|
Position(double latitude,
double longitude)
Create Position from a pair of coordinate values |
|
| Method Summary | |
|---|---|
Object |
clone()
|
boolean |
equals(Object obj)
|
double |
getLatitude()
|
double |
getLongitude()
|
void |
setLatitude(double latitude)
Set the latitude |
void |
setLongitude(double longitude)
Set the longitude |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Position()
public Position(double latitude,
double longitude)
latitude - longitude - | Method Detail |
|---|
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean equals(Object obj)
equals in class Objectpublic double getLatitude()
public void setLatitude(double latitude)
latitude - the new latitudepublic double getLongitude()
public void setLongitude(double longitude)
longitude - the new longitude
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||