|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.gps.GeoCoordinate
public class GeoCoordinate
Class to hold information regarding geo-coordinate.
Field Summary | |
---|---|
protected double |
altitude
The altitude in meters. |
protected double |
course
The direction of travel, rather than orientation. |
protected double |
horizontalAccuracy
|
protected double |
latitude
Latitude in WGS84 system. |
protected double |
longitude
Longitude in WGS84 system. |
protected double |
speed
The speed measured in meters per second (TODO: check this). |
protected double |
verticalAccuracy
|
Constructor Summary | |
---|---|
GeoCoordinate()
|
Method Summary | |
---|---|
double |
getAltitude()
|
double |
getCourse()
|
double |
getDistanceTo(GeoCoordinate other)
Returns the distance between this and another GeoCoordinate() . |
double |
getHorizontalAccuracy()
|
double |
getLatitude()
|
double |
getLongitude()
|
double |
getSpeed()
|
double |
getVerticalAccuracy()
|
void |
setAltitude(double altitude)
|
void |
setCourse(double course)
|
void |
setHorizontalAccuracy(double horizontalAccuracy)
|
void |
setLatitude(double latitude)
|
void |
setLongitude(double longitude)
|
void |
setSpeed(double speed)
|
void |
setVerticalAccuracy(double verticalAccuracy)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double latitude
protected double longitude
protected double altitude
protected double speed
protected double course
protected double horizontalAccuracy
protected double verticalAccuracy
Constructor Detail |
---|
public GeoCoordinate()
Method Detail |
---|
public double getLatitude()
latitude
public void setLatitude(double latitude)
{@link
- #latitude}public double getLongitude()
longitude
public void setLongitude(double longitude)
{@link
- #longitude}public double getAltitude()
altitude
public void setAltitude(double altitude)
{@link
- #altitude}public double getSpeed()
speed
public void setSpeed(double speed)
{@link
- #speed}public double getCourse()
course
public void setCourse(double course)
{@link
- #course}public double getHorizontalAccuracy()
public void setHorizontalAccuracy(double horizontalAccuracy)
public double getVerticalAccuracy()
public void setVerticalAccuracy(double verticalAccuracy)
public double getDistanceTo(GeoCoordinate other)
GeoCoordinate()
.
other
- the other GeoCoordinate()
to which the distance is to be calculated.
GeoCoordinate()
, in meters; -1 if
the other GeoCoordinate()
is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |