org.wamblee.gps.track.TrackSegment Maven / Gradle / Ivy
package org.wamblee.gps.track;
import org.wamblee.gps.geometry.Point;
public interface TrackSegment {
String getDescription();
/**
* @return Number of points in the track.
*/
int size();
double getMinCoordinate(int i);
double getMaxCoordinate(int i);
/**
* Gets the point at the given inded.
* @param aIndex 0 <= aIndex < size()
* @return Point.
*/
Point getPoint(int aIndex);
}