|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.gps.track.TrackSegmentImpl
public class TrackSegmentImpl
Represents a GPS track.
| Constructor Summary | |
|---|---|
TrackSegmentImpl(java.lang.String aDescription)
Constructs an empty track. |
|
| Method Summary | |
|---|---|
void |
addPoint(TrackPoint aPoint)
Adds a point to a track. |
java.lang.String |
getDescription()
|
double |
getMaxCoordinate(int i)
|
double |
getMinCoordinate(int i)
|
Point |
getPoint(int aIndex)
Gets the point at the given inded. |
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TrackSegmentImpl(java.lang.String aDescription)
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in interface TrackSegmentpublic void addPoint(TrackPoint aPoint)
aPoint - Point.public int size()
size in interface TrackSegmentpublic double getMinCoordinate(int i)
getMinCoordinate in interface TrackSegmentpublic double getMaxCoordinate(int i)
getMaxCoordinate in interface TrackSegmentpublic Point getPoint(int aIndex)
TrackSegment
getPoint in interface TrackSegmentaIndex - 0 <= aIndex < size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||