|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.location.Coordinates
javax.microedition.location.QualifiedCoordinates
The QualifiedCoordinates class represents coordinates as latitude-longitude-altitude values that are associated with an accuracy value. . This class is extracted from JSR179
Field Summary | |
protected float |
horizontalAccuracy
|
protected float |
verticalAccuracy
|
Fields inherited from class javax.microedition.location.Coordinates |
altitude, DD_MM, DD_MM_SS, latitude, longitude |
Constructor Summary | |
QualifiedCoordinates(float latitude,
float longitude,
float altitude,
float horizontalAccuracy,
float verticalAccuracy)
Constructs a new QualifiedCoordinates object with the values specified. |
Method Summary | |
float |
getHorizontalAccuracy()
Returns the horizontal accuracy of the location in meters (1-sigma standard deviation). |
float |
getVerticalAccuracy()
Returns the accuracy of the location in meters in vertical direction (orthogonal to ellipsoid surface, 1-sigma standard deviation). |
void |
setHorizontalAccuracy(float horizontalAccuracy)
Sets the horizontal accuracy of the location in meters (1-sigma standard deviation). |
void |
setVerticalAccuracy(float verticalAccuracy)
Sets the accuracy of the location in meters in vertical direction (orthogonal to ellipsoid surface, 1-sigma standard deviation). |
Methods inherited from class javax.microedition.location.Coordinates |
bearing, convert, convert, distance, getAltitude, getLatitude, getLongitude, setAltitude, setLatitude, setLongitude |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected float horizontalAccuracy
protected float verticalAccuracy
Constructor Detail |
public QualifiedCoordinates(float latitude, float longitude, float altitude, float horizontalAccuracy, float verticalAccuracy)
Method Detail |
public float getHorizontalAccuracy()
public float getVerticalAccuracy()
public void setHorizontalAccuracy(float horizontalAccuracy)
public void setVerticalAccuracy(float verticalAccuracy)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |