(no commit message)
[utils] / gps / src / main / java / org / wamblee / gps / track / TrackSegment.java
1 package org.wamblee.gps.track;
2
3 import org.wamblee.gps.geometry.Point;
4
5 public interface TrackSegment {
6     
7     String getDescription();
8
9     /**
10      * @return Number of points in the track. 
11      */
12     int size();
13
14     double getMinCoordinate(int i);
15
16     double getMaxCoordinate(int i);
17
18     /**
19      * Gets the point at the given inded. 
20      * @param aIndex 0 <= aIndex < size()
21      * @return Point.
22      */
23     Point getPoint(int aIndex);
24
25 }