source: josm/trunk/src/org/openstreetmap/josm/data/gpx/GpxTrackSegment.java@ 4431

Last change on this file since 4431 was 3119, checked in by jttt, 14 years ago

Cache offscreen buffer for GpxLayer

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain
File size: 553 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.gpx;
3
4import java.util.Collection;
5
6import org.openstreetmap.josm.data.Bounds;
7
8/**
9 * Read-only gpx track segments. Implementations doesn't have to be immutable, but should always be thread safe.
10 *
11 */
12public interface GpxTrackSegment {
13
14 Bounds getBounds();
15 Collection<WayPoint> getWayPoints();
16 double length();
17 /**
18 *
19 * @return Number of times this track has been changed. Always 0 for read-only segments
20 */
21 int getUpdateCount();
22}
Note: See TracBrowser for help on using the repository browser.