|
|||||||||
| 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
| 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. |
double |
getLat()
Get coordinate latitude |
double |
getLon()
Get coordinate longitude |
int |
hashCode()
|
Point |
toInternalWgs()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||