org.onebusaway.transit_data_federation.impl.shapes
Class DistanceTraveledShapePointIndex
java.lang.Object
org.onebusaway.transit_data_federation.impl.shapes.AbstractShapePointIndex
org.onebusaway.transit_data_federation.impl.shapes.DistanceTraveledShapePointIndex
- All Implemented Interfaces:
- ShapePointIndex
public class DistanceTraveledShapePointIndex
- extends AbstractShapePointIndex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistanceTraveledShapePointIndex
public DistanceTraveledShapePointIndex(double shapeDistanceTraveled)
DistanceTraveledShapePointIndex
public DistanceTraveledShapePointIndex(double shapeDistanceTraveled,
int fromIndex,
int toIndex)
getIndex
public int getIndex(ShapePoints points)
getPoint
public CoordinatePoint getPoint(ShapePoints points)
- Specified by:
getPoint
in interface ShapePointIndex
- Overrides:
getPoint
in class AbstractShapePointIndex
getPointAndOrientation
public PointAndOrientation getPointAndOrientation(ShapePoints points)
Copyright © 2012 OneBusAway. All Rights Reserved.