comparison python/moving.py @ 550:5668af2ff515

minor naming
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 08 Jul 2014 16:33:45 -0400
parents b5525249eda1
children dc3739ac2371
comparison
equal deleted inserted replaced
549:b5525249eda1 550:5668af2ff515
851 return MovingObject.maxDistance(self, self, tMaxFeatures) 851 return MovingObject.maxDistance(self, self, tMaxFeatures)
852 else: 852 else:
853 print('Load features to compute a maximum size') 853 print('Load features to compute a maximum size')
854 return None 854 return None
855 855
856 def setRoutes(self,startCode,endCode): 856 def setRoutes(self, startRouteID, endRouteID):
857 self.startRouteID=startCode 857 self.startRouteID = startRouteID
858 self.endRouteID=endCode 858 self.endRouteID = endRouteID
859 859
860 def getInstantsCrossingLane(self, p1, p2): 860 def getInstantsCrossingLane(self, p1, p2):
861 '''Returns the instant(s) 861 '''Returns the instant(s)
862 at which the object passes from one side of the segment to the other 862 at which the object passes from one side of the segment to the other
863 empty list if there is no crossing''' 863 empty list if there is no crossing'''