org.wdssii.core
Class Location
java.lang.Object
org.wdssii.core.Location
public class Location
- extends Object
- Author:
- lakshman
Field Summary |
static double |
EarthRadius
in kilometers. |
private double |
ht
|
private double |
lat
|
private double |
lon
|
Constructor Summary |
Location(double lat,
double lon,
double ht)
lat, lon in degrees and height in kilometers. |
lat
private double lat
lon
private double lon
ht
private double ht
EarthRadius
public static final double EarthRadius
- in kilometers.
- See Also:
- Constant Field Values
Location
public Location(double lat,
double lon,
double ht)
- lat, lon in degrees and height in kilometers.
init
public void init(double lat,
double lon,
double ht)
getLatitude
public double getLatitude()
getLongitude
public double getLongitude()
getHeightKms
public double getHeightKms()
toString
public String toString()
- Overrides:
toString
in class Object
getCPoint
public CPoint getCPoint()
equals
public boolean equals(Location l)