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.2, 16th June, 2004
Author:
Jo Wood, based on the design by Henrik Sorensen (haas@itu.dk).

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

Method Detail

getLatitude

AngleRadians getLatitude()
Should report the latitude of this position in radians.

Returns:
Latitude of this position in radians.

getLongitude

AngleRadians getLongitude()
Should report the longitude of this position in radians.

Returns:
Longitude of this position.

getAltitude

float getAltitude()
Should report 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-2009, last modified, 17th April, 2009