Package org.openstreetmap.josm.data.gpx
Interface IGpxTrackSegment
-
- All Superinterfaces:
IWithAttributes
- All Known Implementing Classes:
GpxTrackSegment
public interface IGpxTrackSegment extends IWithAttributes
Read-only gpx track segments. Implementations don't have to be immutable, but should always be thread safe.- Since:
- 15496
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bounds
getBounds()
Returns the segment bounds.int
getUpdateCount()
Returns the number of times this track has been changedjava.util.Collection<WayPoint>
getWayPoints()
Returns the segment waypoints.double
length()
Returns the segment length.-
Methods inherited from interface org.openstreetmap.josm.data.gpx.IWithAttributes
get, getAttributes, getCollection, getExtensions, getString, hasExtensions, put
-
-
-
-
Method Detail
-
getWayPoints
java.util.Collection<WayPoint> getWayPoints()
Returns the segment waypoints.- Returns:
- the segment waypoints
-
length
double length()
Returns the segment length.- Returns:
- the segment length
-
getUpdateCount
int getUpdateCount()
Returns the number of times this track has been changed- Returns:
- Number of times this track has been changed. Always 0 for read-only segments
-
-