org.onebusaway.transit_data_federation.impl.shapes
Class DistanceTraveledShapePointIndex

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.shapes.AbstractShapePointIndex
      extended by org.onebusaway.transit_data_federation.impl.shapes.DistanceTraveledShapePointIndex
All Implemented Interfaces:
ShapePointIndex

public class DistanceTraveledShapePointIndex
extends AbstractShapePointIndex


Constructor Summary
DistanceTraveledShapePointIndex(double shapeDistanceTraveled)
           
DistanceTraveledShapePointIndex(double shapeDistanceTraveled, int fromIndex, int toIndex)
           
 
Method Summary
 int getIndex(ShapePoints points)
           
 CoordinatePoint getPoint(ShapePoints points)
           
 PointAndOrientation getPointAndOrientation(ShapePoints points)
           
 
Methods inherited from class org.onebusaway.transit_data_federation.impl.shapes.AbstractShapePointIndex
computeOrientation, computePointAndOrientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceTraveledShapePointIndex

public DistanceTraveledShapePointIndex(double shapeDistanceTraveled)

DistanceTraveledShapePointIndex

public DistanceTraveledShapePointIndex(double shapeDistanceTraveled,
                                       int fromIndex,
                                       int toIndex)
Method Detail

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 © 2011 OneBusAway. All Rights Reserved.