|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jimmc.spelsim.Anchor
public class Anchor
The anchor point on the surface of the planet.
Constructor Summary | |
---|---|
Anchor()
Create an anchor. |
Method Summary | |
---|---|
double |
getLatitude()
Get the latitude of the anchor. |
double |
getLongitude()
Get the longitude of the anchor. |
void |
setLatitude(double latitude)
Set the latitude of the anchor. |
void |
setLongitude(double longitude)
Set the longitude of the anchor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Anchor()
Method Detail |
---|
public void setLongitude(double longitude)
longitude
- The longitude of the anchor in degrees.public double getLongitude()
public void setLatitude(double latitude)
latitude
- The latitude of the anchor in degrees.public double getLatitude()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |