javax.microedition.location
Class QualifiedCoordinates

java.lang.Object
  extended by javax.microedition.location.Coordinates
      extended by javax.microedition.location.QualifiedCoordinates

public class QualifiedCoordinates
extends Coordinates


Field Summary
 
Fields inherited from class javax.microedition.location.Coordinates
DD_MM, DD_MM_SS
 
Constructor Summary
QualifiedCoordinates(double latitude, double longitude, float altitude, float horizontalAccuracy, float verticalAccuracy)
           
 
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)
           
 void setVerticalAccuracy(float verticalAccuracy)
           
 
Methods inherited from class javax.microedition.location.Coordinates
azimuthTo, 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
 

Constructor Detail

QualifiedCoordinates

public QualifiedCoordinates(double latitude,
                            double longitude,
                            float altitude,
                            float horizontalAccuracy,
                            float verticalAccuracy)
Method Detail

getHorizontalAccuracy

public float getHorizontalAccuracy()
Returns the horizontal accuracy of the location in meters (1-sigma standard deviation). A value of Float.NaN means the horizontal accuracy could not be determined. The horizontal accuracy is the RMS (root mean square) of east accuracy (latitudinal error in meters, 1-sigma standard deviation), north accuracy (longitudinal error in meters, 1-sigma).

Returns:
the horizontal accuracy in meters. Float.NaN if this is not known

getVerticalAccuracy

public float getVerticalAccuracy()
Returns the accuracy of the location in meters in vertical direction (orthogonal to ellipsoid surface, 1-sigma standard deviation). A value of Float.NaN means the vertical accuracy could not be determined.

Returns:
the vertical accuracy in meters. Float.NaN if this is not known.

setHorizontalAccuracy

public void setHorizontalAccuracy(float horizontalAccuracy)

setVerticalAccuracy

public void setVerticalAccuracy(float verticalAccuracy)