FileDocCategorySizeDatePackage
LocationPoint.javaAPI DocAndroid 1.5 API1437Wed May 06 22:41:08 BST 2009com.android.ddmuilib.location

LocationPoint

public class LocationPoint extends Object
Base class for Location aware points.

Fields Summary
private double
mLongitude
private double
mLatitude
private boolean
mHasElevation
private double
mElevation
Constructors Summary
Methods Summary
public final doublegetElevation()

        return mElevation;
    
public final doublegetLatitude()

        return mLatitude;
    
public final doublegetLongitude()

        return mLongitude;
    
public final booleanhasElevation()

        return mHasElevation;
    
final voidsetElevation(double elevation)

        mElevation = elevation;
        mHasElevation = true;
    
final voidsetLocation(double longitude, double latitude)


          
        mLongitude = longitude;
        mLatitude = latitude;