chiark / gitweb /
more doc comment updates
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Nov 2017 23:08:17 +0000 (23:08 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 4 Nov 2017 23:08:17 +0000 (23:08 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
moebius.py

index f40ed016309d60e8e22f0d1a1f51d79f21816add..7d7f2020fe2b2817b39bf8a7ea2ac0d37529b2de 100644 (file)
@@ -71,9 +71,11 @@ class MoebiusHalf:
     return BezierSegment(cp)
   def point(m, ix_u, t):
     '''
-    0 <= ix_u <= n_u   meaning 0 <= u <= 1
+    0 <= ix_u <= n_u  meaning 0 <= u <= 1
+                      along the extent
                        0 and 1 are both the top half of the flat traverse
                        0.5        is the bottom half of the flat traverse
-    0 <=  t   <= 1     0 is the edge, 1 is the midline
+    0 <=  t   <= 1    across the half-traverse
+                       0 is the edge, 1 is the midline
     '''
     return m._beziers[ix_u].point_at_t(t)