|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.io.gps.GPSReading
public class GPSReading
A reading from an NMEA GPS.
| Constructor Summary | |
|---|---|
GPSReading()
|
|
GPSReading(double deglat,
double minlat,
double deglon,
double minlon)
|
|
GPSReading(double deglat,
double minlat,
double deglon,
double minlon,
double velocity,
double bearing)
|
|
| Method Summary | |
|---|---|
double |
getBearing()
|
double |
getLatitude()
Gets the value of latitude |
double |
getLongitude()
Gets the value of longitude |
int |
getPdop()
Gets the value of pdop |
java.lang.String |
getProjection()
|
java.lang.String |
getRawString()
Gets the value of rawString |
int |
getSatellites()
Gets the value of satellites |
Cog |
getState()
|
java.lang.String |
getTime()
Gets the value of time |
double |
getVelocity()
|
double |
getX()
|
double |
getY()
|
void |
setBearing(double newBearing)
|
void |
setLatitude(double argLatitude)
Sets the value of latitude |
void |
setLongitude(double argLongitude)
Sets the value of longitude |
void |
setPdop(int argPdop)
Sets the value of pdop |
void |
setProjection(java.lang.String newProjection)
|
void |
setRawString(java.lang.String argRawString)
Sets the value of rawString |
void |
setSatellites(int argSatellites)
Sets the value of satellites |
void |
setState(Cog state)
|
void |
setTime(java.lang.String argTime)
Sets the value of time |
void |
setVelocity(double newVelocity)
|
void |
setX(double newX)
|
void |
setY(double newY)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GPSReading()
public GPSReading(double deglat,
double minlat,
double deglon,
double minlon)
public GPSReading(double deglat,
double minlat,
double deglon,
double minlon,
double velocity,
double bearing)
| Method Detail |
|---|
public Cog getState()
getState in interface Coggablepublic void setState(Cog state)
setState in interface Coggablepublic java.lang.String toString()
toString in class java.lang.Objectpublic int getPdop()
public void setPdop(int argPdop)
argPdop - Value to assign to this.pdoppublic int getSatellites()
public void setSatellites(int argSatellites)
argSatellites - Value to assign to this.satellitespublic double getLatitude()
public void setLatitude(double argLatitude)
argLatitude - Value to assign to this.latitudepublic double getLongitude()
public void setLongitude(double argLongitude)
argLongitude - Value to assign to this.longitudepublic java.lang.String getTime()
public void setTime(java.lang.String argTime)
argTime - Value to assign to this.timepublic java.lang.String getRawString()
public void setRawString(java.lang.String argRawString)
argRawString - Value to assign to this.rawStringpublic double getBearing()
public void setBearing(double newBearing)
public double getVelocity()
public void setVelocity(double newVelocity)
public java.lang.String getProjection()
public void setProjection(java.lang.String newProjection)
public double getX()
public void setX(double newX)
public double getY()
public void setY(double newY)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||