jwo.landserf.process.gps
Interface Position

All Known Subinterfaces:
GPSTrack, GPSWaypoint
All Known Implementing Classes:
GPSPosition, PositionDataPacket, PVTDataPacket, TrackDataPacket, WaypointDataPacket

public interface Position

Used to represent any point location transmitted to or from GPS.

Version:
2.1, 16th June, 2004
Author:
Jo Wood, based on the design by Henrik Sorensen (haas@itu.dk).

Method Summary
 float getAltitude()
          Reports the altitude of this position.
 AngleRadians getLatitude()
          Reports the latitude of this position in radians.
 AngleRadians getLongitude()
          Reports the longitude of this position in radians.
 

Method Detail

getLatitude

public AngleRadians getLatitude()
Reports the latitude of this position in radians.

Returns:
Latitude of this position in radians.

getLongitude

public AngleRadians getLongitude()
Reports the longitude of this position in radians.

Returns:
Longitude of this position.

getAltitude

public float getAltitude()
Reports the altitude of this position.

Returns:
Altitude of this position in units determined by the GPS. May be 0 if GPS unit does not record waypoint altitude.


Copyright Jo Wood, 1996-2004, last modified, 3rd September, 2004