Lines Matching refs:cubic
6 static void parameter_coeffs(const Cubic& cubic, double coeffs[coeff_count]) {
10 alt_set_abcd(&cubic[0].x, ax, bx, cx, dx);
12 set_abcd(&cubic[0].x, ax, bx, cx, dx);
15 alt_set_abcd(&cubic[0].y, ay, by, cy, dy);
17 set_abcd(&cubic[0].y, ay, by, cy, dy);
22 double ax = cubic[0].x;
23 double bx = cubic[1].x;
24 double cx = cubic[2].x;
25 double dx = cubic[3].x;
26 double ay = cubic[0].y;
27 double by = cubic[1].y;
28 double cy = cubic[2].y;
29 double dy = cubic[3].y;
38 bool point_on_parameterized_curve(const Cubic& cubic, const _Point& point) {
40 parameter_coeffs(cubic, coeffs);