diff python/moving.py @ 335:3950bfe22768

added functions to export trajectories to csv
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 14 Jun 2013 11:47:24 -0400
parents 40790d93200e
children 9c1818a71c9c
line wrap: on
line diff
--- a/python/moving.py	Fri Jun 14 10:34:11 2013 -0400
+++ b/python/moving.py	Fri Jun 14 11:47:24 2013 -0400
@@ -604,6 +604,12 @@
     def getUserType(self):
         return self.userType
 
+    def getCurvilinearPositions(self):
+        if hasattr(self, 'curvilinearPositions'):
+            return self.curvilinearPositions
+        else:
+            return None
+
     def setUserType(self, userType):
         self.userType = userType