Lines Matching refs:cp1

293     Geom::Point cp1;
295 cp1[Geom::X] = P[Geom::X];
311 cp1[Geom::Y] = P[Geom::X];
314 res.start = 3.0 * (cp1 - start);
438 Geom::Point cp1, cp2;
447 cp1[0] = data.Xk[1];
448 cp1[1] = data.Yk[1];
451 cp2 = cp1;
454 // start -> cp1 -> end
455 res.start = cp1 - start;
456 res.end = end - cp1;
462 cp1 = start + res.start / 3;
511 curAppP[Geom::X] = N13(data.tk[i]) * cp1[Geom::X] +
516 curAppP[Geom::Y] = N13(data.tk[i]) * cp1[Geom::Y] +
525 midAppP[Geom::X] = N13(mtk) * cp1[Geom::X] +
530 midAppP[Geom::Y] = N13(mtk) * cp1[Geom::Y] +
563 curAppP[Geom::X] = N13(data.tk[i]) * cp1[Geom::X] +
568 curAppP[Geom::Y] = N13(data.tk[i]) * cp1[Geom::Y] +
602 data.tk[i] = RaffineTk(pt, start, cp1, cp2, end, data.tk[i]);
611 res.start = 3.0 * (cp1 - start);
634 curAppP[Geom::X] = N13(data.tk[i]) * cp1[Geom::X] +
639 curAppP[Geom::Y] = N13(data.tk[i]) * cp1[Geom::Y] +
648 midAppP[Geom::X] = N13(mtk) * cp1[Geom::X] +
653 midAppP[Geom::Y] = N13(mtk) * cp1[Geom::Y] +
688 curAppP[Geom::X] = N13(data.tk[i]) * cp1[Geom::X] +
693 curAppP[Geom::Y] = N13(data.tk[i]) * cp1[Geom::Y] +
726 res.start = 3.0 * (cp1 - start);
750 Geom::Point cp1;
759 cp1 = pts[off + 1].p;
766 // start -> cp1 -> end
767 res.start = cp1 - start;
768 res.end = end - cp1;
848 cp1 = start + res.start / 3;
906 curAppP[0] = N13 (tk[i]) * cp1[0] + N23 (tk[i]) * cp2[0] + N03 (tk[i]) * Xk[0] + N33 (tk[i]) * Xk[N - 1];
907 curAppP[1] = N13 (tk[i]) * cp1[1] + N23 (tk[i]) * cp2[1] + N03 (tk[i]) * Yk[0] + N33 (tk[i]) * Yk[N - 1];
910 midAppP[0] = N13 (0.5*(tk[i]+tk[i-1])) * cp1[0] + N23 (0.5*(tk[i]+tk[i-1])) * cp2[0] + N03 (0.5*(tk[i]+tk[i-1])) * Xk[0] + N33 (0.5*(tk[i]+tk[i-1])) * Xk[N - 1];
911 midAppP[1] = N13 (0.5*(tk[i]+tk[i-1])) * cp1[1] + N23 (0.5*(tk[i]+tk[i-1])) * cp2[1] + N03 (0.5*(tk[i]+tk[i-1])) * Yk[0] + N33 (0.5*(tk[i]+tk[i-1])) * Yk[N - 1];
943 curAppP[0] = N13 (tk[i]) * cp1[0] + N23 (tk[i]) * cp2[0] + N03 (tk[i]) * Xk[0] + N33 (tk[i]) * Xk[N - 1];
944 curAppP[1] = N13 (tk[i]) * cp1[1] + N23 (tk[i]) * cp2[1] + N03 (tk[i]) * Yk[0] + N33 (tk[i]) * Yk[N - 1];
971 res.start = 3.0 * (cp1 - start);
982 tk[i] = RaffineTk (pt, start, cp1, cp2, end, tk[i]);
993 res.start = 3.0 * (cp1 - start);
1025 curAppP[0] = N13 (tk[i]) * cp1[0] + N23 (tk[i]) * cp2[0] + N03 (tk[i]) * Xk[0] + N33 (tk[i]) * Xk[N - 1];
1026 curAppP[1] = N13 (tk[i]) * cp1[1] + N23 (tk[i]) * cp2[1] + N03 (tk[i]) * Yk[0] + N33 (tk[i]) * Yk[N - 1];
1029 midAppP[0] = N13 (0.5*(tk[i]+tk[i-1])) * cp1[0] + N23 (0.5*(tk[i]+tk[i-1])) * cp2[0] + N03 (0.5*(tk[i]+tk[i-1])) * Xk[0] + N33 (0.5*(tk[i]+tk[i-1])) * Xk[N - 1];
1030 midAppP[1] = N13 (0.5*(tk[i]+tk[i-1])) * cp1[1] + N23 (0.5*(tk[i]+tk[i-1])) * cp2[1] + N03 (0.5*(tk[i]+tk[i-1])) * Yk[0] + N33 (0.5*(tk[i]+tk[i-1])) * Yk[N - 1];
1061 curAppP[0] = N13 (tk[i]) * cp1[0] + N23 (tk[i]) * cp2[0] + N03 (tk[i]) * Xk[0] + N33 (tk[i]) * Xk[N - 1];
1062 curAppP[1] = N13 (tk[i]) * cp1[1] + N23 (tk[i]) * cp2[1] + N03 (tk[i]) * Yk[0] + N33 (tk[i]) * Yk[N - 1];
1099 res.start = 3.0 * (cp1 - start);