Interface GPSTrace

  • All Implemented Interfaces:
    it.unibo.alchemist.model.Route , it.unibo.alchemist.model.maps.TimedRoute , java.io.Serializable , java.lang.Iterable

    
    public interface GPSTrace
     implements TimedRoute<P>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • interpolate

         abstract GeoPosition interpolate(Time time)
        Parameters:
        time - the time
        Returns:

        the position at which the node would have been if it has moved in a straight line connecting the previous and the next point of time at constant speed

      • startAt

         abstract GPSTrace startAt(Time time)
        Parameters:
        time - the time at which the new trace should start
        Returns:

        a new trace, which will have all the points of this trace starting at the passed time