com.c5corp.c5gps
Class GpsPointRecord

java.lang.Object
  extended by com.c5corp.c5gps.GpsType
      extended by com.c5corp.c5gps.GpsPointRecord
Direct Known Subclasses:
TrackPoint, WayPoint

public abstract class GpsPointRecord
extends GpsType

GPS represents points in various ways. The most obvious is a Waypoint, but there are also TrackLogPoints and RoutePoints. This abstract class provides a common interface for all of these kinds of points, and is the parent of those classes.

Since:
2.0
Author:
Brett Stalbaum Copyright 2002-2006 see LICENSE.txt and UCSD_LICENSE.txt
See Also:
RoutePoint, TrackPoint, WayPoint

Field Summary
 
Fields inherited from class com.c5corp.c5gps.GpsType
hdatum
 
Constructor Summary
GpsPointRecord()
           
 
Method Summary
abstract  java.lang.String getDatum()
          Every GpsPointRecord has a datum
abstract  int getEasting()
          Every GpsPointRecord has a UTM easting
abstract  int getNorthing()
          Every GpsPointRecord has a UTM northing
abstract  java.lang.String getType()
          The type of any gps record is one of the following: W, for a wapoint, N or T for trackpoint (N being a new trackpoint, or the first trackpoint recorded after a device has lost satellite tracking), and R for a RoutePoint.
abstract  int getZone()
          Every GpsPointRecord had a UTM zone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GpsPointRecord

public GpsPointRecord()
Method Detail

getType

public abstract java.lang.String getType()
The type of any gps record is one of the following: W, for a wapoint, N or T for trackpoint (N being a new trackpoint, or the first trackpoint recorded after a device has lost satellite tracking), and R for a RoutePoint. There is also an E for an end of Route marker, in g7towin csv files, but it is not a point data item marker.

Returns:
the Gps Record Type of this GpsPointRecord

getDatum

public abstract java.lang.String getDatum()
Every GpsPointRecord has a datum

Returns:
the datum

getZone

public abstract int getZone()
Every GpsPointRecord had a UTM zone

Returns:
the UTM zone

getEasting

public abstract int getEasting()
Every GpsPointRecord has a UTM easting

Returns:
the UTM easting

getNorthing

public abstract int getNorthing()
Every GpsPointRecord has a UTM northing

Returns:
the UTM northing