|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.components.WgsPoint
public class WgsPoint
Point object for moving WGS84 coordinates between library and implementing application
| Field Summary | |
|---|---|
static int |
FORMAT_LAT_LON
|
| Constructor Summary | |
|---|---|
WgsPoint(double lon,
double lat)
|
|
| Method Summary | |
|---|---|
static double |
distanceInMeters(WgsPoint p1,
WgsPoint p2)
Compute distance in meters between two points. |
boolean |
equals(java.lang.Object obj)
Check if two WgsPoint objects refer to the same coordinates. |
static double |
finalTrueCourse(WgsPoint p1,
WgsPoint p2)
True course at p2 using great circle distance. |
double |
getLat()
Get coordinate latitude |
double |
getLon()
Get coordinate longitude |
int |
hashCode()
|
static double |
initialTrueCourse(WgsPoint p1,
WgsPoint p2)
True course at p1 using great circle distance. |
static WgsPoint |
parsePoint(int format,
java.lang.String string,
java.lang.String separator)
|
Point |
toInternalWgs()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int FORMAT_LAT_LON
| Constructor Detail |
|---|
public WgsPoint(double lon,
double lat)
| Method Detail |
|---|
public double getLat()
public double getLon()
public Point toInternalWgs()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the other object
Object.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.Object
public static double distanceInMeters(WgsPoint p1,
WgsPoint p2)
p1 - first pointp2 - second point
public static double initialTrueCourse(WgsPoint p1,
WgsPoint p2)
p1 - first pointp2 - second point
public static double finalTrueCourse(WgsPoint p1,
WgsPoint p2)
p1 - first pointp2 - second point
public static WgsPoint parsePoint(int format,
java.lang.String string,
java.lang.String separator)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||