Lines Matching refs:cx
33 (ax, ay), (bx, by), (cx, cy) = calcQuadraticParameters(pt1, pt2, pt3)
41 points = [(ax*t*t + bx*t + cx, ay*t*t + by*t + cy) for t in roots if 0 <= t < 1] + [pt1, pt3]
56 (ax, ay), (bx, by), (cx, cy), (dx, dy) = calcCubicParameters(pt1, pt2, pt3, pt4)
62 xRoots = [t for t in solveQuadratic(ax3, bx2, cx) if 0 <= t < 1]
66 …points = [(ax*t*t*t + bx*t*t + cx * t + dx, ay*t*t*t + by*t*t + cy * t + dy) for t in roots] + [pt…
204 cx, cy = c
214 c1x = ax*t1**2 + bx*t1 + cx
229 cx, cy = c
240 c1x = (2*bx*t1 + cx + 3*ax*t1**2) * delta
242 d1x = ax*t1**3 + bx*t1**2 + cx*t1 + dx
333 cx, cy = pt1
334 bx = (x2 - cx) * 2.0
336 ax = x3 - cx - bx
338 return (ax, ay), (bx, by), (cx, cy)
346 cx = (x2 -dx) * 3.0
348 bx = (x3 - x2) * 3.0 - cx
350 ax = x4 - dx - cx - bx
352 return (ax, ay), (bx, by), (cx, cy), (dx, dy)
358 cx, cy = c
359 x1 = cx
361 x2 = (bx * 0.5) + cx
363 x3 = ax + bx + cx
371 cx, cy = c
375 x2 = (cx / 3.0) + dx
377 x3 = (bx + cx) / 3.0 + x2
379 x4 = ax + dx + cx + bx