|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.position.NmeaPosition
public class NmeaPosition
The NmeaPosition class is similar to org.osgi.util.position.Position but with different units
and more fields.
The following fields are equivalent to org.osgi.util.position.Position fields but in more typical
units (degrees instead of radians):
Constructor Summary | |
---|---|
NmeaPosition(double lat,
double lon,
double alt,
double speed,
double track)
|
|
NmeaPosition(double lat,
double lon,
double alt,
double speed,
double track,
int fixQuality,
int nrSatellites,
double DOP,
double PDOP,
double HDOP,
double VDOP,
int fix3D)
|
Method Summary | |
---|---|
int |
get3Dfix()
|
double |
getAltitude()
Return the altitude in meters |
double |
getDOP()
|
int |
getFixQuality()
|
double |
getHDOP()
|
double |
getLatitude()
Return the latitude in degrees |
double |
getLongitude()
Return the longitude in degrees |
int |
getNrSatellites()
|
double |
getPDOP()
|
double |
getSpeed()
Return the speed in m/s |
double |
getSpeedKmh()
Return the speed in km/h |
double |
getSpeedMph()
Return the speed in mph |
double |
getTrack()
Return the track in degrees |
double |
getVDOP()
|
void |
set3Dfix(int m_3Dfix)
|
void |
setAltitude(double l_altitude)
|
void |
setDOP(double m_DOP)
|
void |
setFixQuality(int m_fixQuality)
|
void |
setHDOP(double m_HDOP)
|
void |
setLatitude(double l_latitude)
|
void |
setLongitude(double l_longitude)
|
void |
setNrSatellites(int m_nrSatellites)
|
void |
setPDOP(double m_PDOP)
|
void |
setSpeed(double l_speed)
|
void |
setTrack(double l_track)
|
void |
setVDOP(double m_VDOP)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NmeaPosition(double lat, double lon, double alt, double speed, double track)
public NmeaPosition(double lat, double lon, double alt, double speed, double track, int fixQuality, int nrSatellites, double DOP, double PDOP, double HDOP, double VDOP, int fix3D)
Method Detail |
---|
public double getLatitude()
public void setLatitude(double l_latitude)
public double getLongitude()
public void setLongitude(double l_longitude)
public double getAltitude()
public void setAltitude(double l_altitude)
public double getSpeedKmh()
public double getSpeedMph()
public double getSpeed()
public void setSpeed(double l_speed)
public double getTrack()
public void setTrack(double l_track)
public int getFixQuality()
public void setFixQuality(int m_fixQuality)
public int getNrSatellites()
public void setNrSatellites(int m_nrSatellites)
public double getDOP()
public void setDOP(double m_DOP)
public double getPDOP()
public void setPDOP(double m_PDOP)
public double getHDOP()
public void setHDOP(double m_HDOP)
public double getVDOP()
public void setVDOP(double m_VDOP)
public int get3Dfix()
public void set3Dfix(int m_3Dfix)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |