java.lang.Object
org.entur.netex.gtfs.export.model.GtfsShape
A GTFS shape made of a list of shape points.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetDistanceTravelledToStop(int i) Return the distance travelled on the shape from the start to the stop number i.getId()List<org.onebusaway.gtfs.model.ShapePoint>
-
Constructor Details
-
GtfsShape
-
-
Method Details
-
getId
-
getShapePoints
-
getDistanceTravelledToStop
public double getDistanceTravelledToStop(int i) Return the distance travelled on the shape from the start to the stop number i. The distance travelled to stop number 1 is 0 meters.- Parameters:
i- sequence number of the stop in the JourneyPattern, starting at 1.- Returns:
- the distance travelled on the shape from the start to the stop number i, in meters.
-