roaf.gps.GPSinfo extends Position

Note: In the Tutorial and Book the interface resides in In the actual ROAF it was moved to roaf.gps

By extending the Position the GPSinfo inherits all methods and adds set/getDate to handle Time Coordinates. By casting a GPSinfo implementation to a Position the time information can be stripped off.

Only the interfaces Position and GPSinfo should be used to handle geographic coordinates inside the ROAF (i.e. the roaf... packages) to guarantee the implementation of any geographic coordinate system for different Real Object Applications (ROApps).

Note that a GPS device only provides a (lat,lon,ele,time) coordinate (point information) and the attributes direction (bearing), distance and speed are calculated (derived) between two coordinates and time stamps (duration).

 « space & timeJava API GPSpoint»