org.onebusaway.transit_data_federation.impl.shapes
Class LocationShapePointIndex

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

public class LocationShapePointIndex
extends AbstractShapePointIndex


Constructor Summary
LocationShapePointIndex(double lat, double lon)
           
 
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

LocationShapePointIndex

public LocationShapePointIndex(double lat,
                               double lon)
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.