diff python/moving.py @ 943:b1e8453c207c

work on motion prediction using motion patterns
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 19 Jul 2017 18:02:38 -0400
parents a2f3f3ca241e
children 05d4302bf67e
line wrap: on
line diff
--- a/python/moving.py	Tue Jul 18 18:01:16 2017 -0400
+++ b/python/moving.py	Wed Jul 19 18:02:38 2017 -0400
@@ -1231,6 +1231,9 @@
     def getUserType(self):
         return self.userType
 
+    def computeCumulativeDistances(self):
+        self.positions.computeCumulativeDistances()
+
     def getCurvilinearPositions(self):
         if hasattr(self, 'curvilinearPositions'):
             return self.curvilinearPositions