diff python/utils.py @ 698:8d99a9e16644 dev

added clarification comments
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 17 Jul 2015 14:28:14 -0400
parents 9990ef119bce
children c35e4a4b199d
line wrap: on
line diff
--- a/python/utils.py	Fri Jul 17 14:22:45 2015 -0400
+++ b/python/utils.py	Fri Jul 17 14:28:14 2015 -0400
@@ -240,6 +240,7 @@
     return ceil(v*tens)/tens
 
 def inBetween(bound1, bound2, x):
+    'useful if one does not know the order of bound1/bound2'
     return bound1 <= x <= bound2 or bound2 <= x <= bound1
 
 def pointDistanceL2(x1,y1,x2,y2):