From: Ian Jackson Date: Sat, 30 Dec 2017 22:28:44 +0000 (+0000) Subject: helixish: try_s and try_t now always >= 0 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=64e1ebfbba00716210364e9e65f6dfbd8026c402;p=moebius3.git helixish: try_s and try_t now always >= 0 Since we add tau if necessary Signed-off-by: Ian Jackson --- diff --git a/helixish.py b/helixish.py index bf8083f..c3a1797 100644 --- a/helixish.py +++ b/helixish.py @@ -169,8 +169,6 @@ class HelixishCurve(): try_s = railway_ST(railway_CP, [0,0], railway_midpt, railway_r) try_t = railway_ST(railway_CP, railway_midpt, q_plane[0:2], railway_r) dbg('try_s, _t', try_s, try_t) - if try_s < 0 or try_t < 0: - continue try_st = try_s + try_t if best_st is None or try_st < best_st: