|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaron.gps.Trackpath
public class Trackpath
The Trackpath
class represents a GPS track that consist
of an unlimited number of track points.
Constructor Summary | |
---|---|
Trackpath()
|
Method Summary | |
---|---|
void |
addTrackpoint(Trackpoint trackpoint)
Adds a trackpoint to the track path. |
double |
getDistance()
Returns the overall distance of the track. |
java.lang.String |
getDuration()
Returns the overall track duration. |
java.lang.String |
getName()
Returns the track name. |
int |
getSatMax()
Returns the maximum count of satellites that where reachable during the track. |
int |
getSatMin()
Returns the minimal count of satellites that where reachable during the track. |
java.util.ArrayList<Trackpoint> |
getTrackpoints()
Returns a list of all the track points of the track. |
double |
getVAverage()
Returns the average speed that was achieved during the track. |
double |
getVMax()
Returns the maximum speed that was achieved during the track. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Trackpath()
Method Detail |
---|
public void addTrackpoint(Trackpoint trackpoint)
trackpoint
- the track point to be addedpublic java.lang.String getDuration()
public double getDistance()
public double getVMax()
public double getVAverage()
public int getSatMin()
public int getSatMax()
public java.lang.String getName()
public java.util.ArrayList<Trackpoint> getTrackpoints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |