org.wamblee.gps.track
Class FilteredTrack
java.lang.Object
org.wamblee.gps.track.FilteredTrack
- All Implemented Interfaces:
- java.io.Serializable, Track, TrackSegment
public class FilteredTrack
- extends java.lang.Object
- implements Track, java.io.Serializable
Filtered track provides a filtered view on a track.
Changes in the filter are also represented by the filtered track.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilteredTrack
public FilteredTrack(TrackFilter aFilter,
Track aTrack)
getSegments
public java.util.List<TrackSegment> getSegments()
- Specified by:
getSegments in interface Track
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface TrackSegment
getMaxCoordinate
public double getMaxCoordinate(int aI)
- Specified by:
getMaxCoordinate in interface TrackSegment
getMinCoordinate
public double getMinCoordinate(int aI)
- Specified by:
getMinCoordinate in interface TrackSegment
getPoint
public Point getPoint(int aIndex)
- Description copied from interface:
TrackSegment
- Gets the point at the given inded.
- Specified by:
getPoint in interface TrackSegment
- Parameters:
aIndex - 0 <= aIndex < size()
- Returns:
- Point.
size
public int size()
- Specified by:
size in interface TrackSegment
- Returns:
- Number of points in the track.
Copyright © 2010. All Rights Reserved.