net.jimmc.spelsim
Class Anchor

java.lang.Object
  extended by net.jimmc.spelsim.Anchor

public class Anchor
extends java.lang.Object

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

Anchor

public Anchor()
Create an anchor.

Method Detail

setLongitude

public void setLongitude(double longitude)
Set the longitude of the anchor.

Parameters:
longitude - The longitude of the anchor in degrees.

getLongitude

public double getLongitude()
Get the longitude of the anchor.

Returns:
The longitude of the anchor in degrees.

setLatitude

public void setLatitude(double latitude)
Set the latitude of the anchor.

Parameters:
latitude - The latitude of the anchor in degrees.

getLatitude

public double getLatitude()
Get the latitude of the anchor.

Returns:
The latitude of the anchor in degrees.