org.onebusaway.transit_data_federation.impl.shapes
Class AbstractShapePointIndex
java.lang.Object
org.onebusaway.transit_data_federation.impl.shapes.AbstractShapePointIndex
- All Implemented Interfaces:
- ShapePointIndex
- Direct Known Subclasses:
- DistanceTraveledShapePointIndex, FirstShapePointIndex, LastShapePointIndex, LocationShapePointIndex
public abstract class AbstractShapePointIndex
- extends Object
- implements ShapePointIndex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractShapePointIndex
public AbstractShapePointIndex()
getPoint
public CoordinatePoint getPoint(ShapePoints points)
- Specified by:
getPoint
in interface ShapePointIndex
computePointAndOrientation
protected PointAndOrientation computePointAndOrientation(ShapePoints shapePoints,
int pointIndex,
int orientationIndexFrom,
int orientationIndexTo)
computeOrientation
protected double computeOrientation(ShapePoints shapePoints,
int indexFrom,
int indexTo)
Copyright © 2012 OneBusAway. All Rights Reserved.