|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.io.gps.GPSPosition
public class GPSPosition
This is the last piece of the 3x GPS code. It's here because jobs refer to GPSPosition by class name. A GPS position reading.
| Constructor Summary | |
|---|---|
GPSPosition()
|
|
GPSPosition(double longitude,
double latitude)
|
|
| Method Summary | |
|---|---|
GPSPosition |
copy()
|
double |
getBearing()
Gets the value of bearing |
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 |
getLatitudeDegrees()
|
double |
getLatitudeMinutes()
|
double |
getLatitudeSeconds()
|
double |
getLongitude()
Gets the value of longitude |
double |
getLongitudeDegrees()
|
double |
getLongitudeMinutes()
|
double |
getLongitudeSeconds()
|
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 |
double |
getVelocity()
Gets the value of velocity |
boolean |
isValidReading()
This seems like the best place to handle points at 0, 0. |
void |
setBearing(double argBearing)
Sets the value of bearing |
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 |
void |
setVelocity(double argVelocity)
Sets the value of velocity |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 getBearing()
public void setBearing(double argBearing)
argBearing - Value to assign to this.bearingpublic 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 double getVelocity()
public void setVelocity(double argVelocity)
argVelocity - Value to assign to this.velocitypublic double getLongitudeDegrees()
public double getLongitudeMinutes()
public double getLongitudeSeconds()
public double getLatitudeDegrees()
public double getLatitudeMinutes()
public double getLatitudeSeconds()
public boolean isValidReading()
public GPSPosition copy()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||