Mercurial Hosting > traffic-intelligence
comparison python/moving.py @ 214:9c7fc6899c0e
corrected name typos in drawOnWorldImage
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 07 Jun 2012 01:20:25 -0400 |
parents | 5cde6da74605 |
children | c31722fcc9de |
comparison
equal
deleted
inserted
replaced
213:5cde6da74605 | 214:9c7fc6899c0e |
---|---|
493 return self.positions.getYCoordinates() | 493 return self.positions.getYCoordinates() |
494 | 494 |
495 def draw(self, options = '', withOrigin = False, **kwargs): | 495 def draw(self, options = '', withOrigin = False, **kwargs): |
496 self.positions.draw(options, withOrigin, **kwargs) | 496 self.positions.draw(options, withOrigin, **kwargs) |
497 | 497 |
498 def drawWorldOnImage(self, nPixelsPerUnitDistance, imageHeight, options = '', withOrigin = False): | 498 def drawOnWorldImage(self, nPixelsPerUnitDistance, imageHeight, options = '', withOrigin = False, **kwargs): |
499 self.positions.drawWorldOnImage(nPixelsPerUnitDistance, imageHeight, options, withOrigin) | 499 self.positions.drawOnWorldImage(nPixelsPerUnitDistance, imageHeight, options, withOrigin, **kwargs) |
500 | 500 |
501 def getInstantsCrossingLane(self, p1, p2): | 501 def getInstantsCrossingLane(self, p1, p2): |
502 '''Returns the instant(s) | 502 '''Returns the instant(s) |
503 at which the object passes from one side of the segment to the other | 503 at which the object passes from one side of the segment to the other |
504 empty list if there is no crossing''' | 504 empty list if there is no crossing''' |