|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.io.gps.GPSPosition
public class GPSPosition
A GPS position reading.
| Constructor Summary | |
|---|---|
GPSPosition()
|
|
GPSPosition(double longitude,
double latitude)
|
|
| Method Summary | |
|---|---|
GPSPosition |
copy()
|
int[][] |
getIntegerCoords()
Returns two int arrays; each has deg, minutes, seconds, and thousandths of a second (mils). |
double |
getLatitude()
Gets the value of latitude |
double |
getLongitude()
Gets the value of longitude |
double |
getPdop()
Gets the value of pdop |
java.lang.String |
getPositionString()
|
int |
getSatellites()
Gets the value of satellites |
PartnerDateTime |
getTime()
Gets the value of time |
void |
setLatitude(double argLatitude)
Sets the value of latitude |
void |
setLongitude(double argLongitude)
Sets the value of longitude |
void |
setPdop(double argPdop)
Sets the value of pdop |
void |
setSatellites(int argSatellites)
Sets the value of satellites |
void |
setTime(PartnerDateTime argTime)
Sets the value of time |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPSPosition()
public GPSPosition(double longitude,
double latitude)
| Method Detail |
|---|
public int[][] getIntegerCoords()
public java.lang.String getPositionString()
public double getLongitude()
public void setLongitude(double argLongitude)
argLongitude - Value to assign to this.longitudepublic double getLatitude()
public void setLatitude(double argLatitude)
argLatitude - Value to assign to this.latitudepublic PartnerDateTime getTime()
public void setTime(PartnerDateTime argTime)
argTime - Value to assign to this.timepublic double getPdop()
public void setPdop(double argPdop)
argPdop - Value to assign to this.pdoppublic int getSatellites()
public void setSatellites(int argSatellites)
argSatellites - Value to assign to this.satellitespublic GPSPosition copy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||