org.onebusaway.geospatial.grid
Class TimedGridFactory

java.lang.Object
  extended by org.onebusaway.geospatial.grid.TimedGridFactory

public class TimedGridFactory
extends Object


Constructor Summary
TimedGridFactory(double gridLatStep, double gridLonStep, double velocity)
           
 
Method Summary
 void addPoint(double lat, double lon, long time, long timeRemaining)
           
 Map<Integer,List<EncodedPolygonBean>> getPolygonsByTime(int segmentSizeInMinutes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimedGridFactory

public TimedGridFactory(double gridLatStep,
                        double gridLonStep,
                        double velocity)
Method Detail

addPoint

public void addPoint(double lat,
                     double lon,
                     long time,
                     long timeRemaining)

getPolygonsByTime

public Map<Integer,List<EncodedPolygonBean>> getPolygonsByTime(int segmentSizeInMinutes)


Copyright © 2011 OneBusAway. All Rights Reserved.