Mercurial > hg > nsaunier > traffic-intelligence
comparison python/moving.py @ 13:30559b2cf7a9
minimal code to load UBC data
| author | Nicolas Saunier <nico@confins.net> |
|---|---|
| date | Fri, 13 Nov 2009 19:29:01 -0500 |
| parents | ffddccfab7f9 |
| children | e7bbe8465591 |
comparison
equal
deleted
inserted
replaced
| 12:ff5403319cec | 13:30559b2cf7a9 |
|---|---|
| 112 self.trajectory = trajectory | 112 self.trajectory = trajectory |
| 113 self.geometry = geometry | 113 self.geometry = geometry |
| 114 self.type = type | 114 self.type = type |
| 115 # compute bounding polygon from trajectory | 115 # compute bounding polygon from trajectory |
| 116 | 116 |
| 117 def draw(self): | |
| 118 self.positions.draw() | |
| 119 | |
| 117 # def computeVelocities(self): | 120 # def computeVelocities(self): |
| 118 | 121 |
| 122 # need for a class representing the indicators, their units, how to print them in graphs... | |
| 119 class TemporalIndicator: | 123 class TemporalIndicator: |
| 120 '''Class for temporal indicators | 124 '''Class for temporal indicators |
| 121 i.e. indicators that take a value at specific instants''' | 125 i.e. indicators that take a value at specific instants''' |
| 122 pass | 126 pass |
| 123 | 127 |
