| Constructor and Description |
|---|
GPSReading() |
GPSReading(Cog state) |
GPSReading(GPSReading copy) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
double |
getAltitude() |
double |
getBearing()
Bearing is degrees north, winding clockwise.
|
double |
getLatitude()
Gets the value of latitude
|
double |
getLongitude()
Gets the value of longitude
|
double |
getVelocity() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setAltitude(double altitude) |
void |
setBearing(double newBearing)
Bearing is degrees north, winding clockwise.
|
void |
setLatitude(double argLatitude)
Sets the value of latitude
|
void |
setLongitude(double argLongitude)
Sets the value of longitude
|
void |
setVelocity(double newVelocity) |
void |
setX(double newX) |
void |
setY(double newY) |
void |
setZ(double z) |
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
java.lang.String |
toString() |
XyPoint |
toXyPoint()
Returns the (x, y) values as an XyPoint.
|
public GPSReading(GPSReading copy)
public GPSReading()
public GPSReading(Cog state)
public Cog toCog()
CoggableCog.public java.lang.String toString()
toString in class java.lang.Objectpublic 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 double getBearing()
public void setBearing(double newBearing)
public double getVelocity()
public void setVelocity(double newVelocity)
public double getX()
public void setX(double newX)
public java.lang.Object clone()
clone in class java.lang.Objectpublic double getY()
public void setY(double newY)
public XyPoint toXyPoint()
public double getAltitude()
public void setAltitude(double altitude)
public double getZ()
public void setZ(double z)